chore: enable check raw ptr fields (#38167)
This commit is contained in:
parent
141175c723
commit
3dbc0a365f
120 changed files with 298 additions and 185 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "content/public/browser/content_browser_client.h"
|
||||
#include "content/public/browser/render_frame_host.h"
|
||||
|
@ -131,7 +132,7 @@ class ProxyingURLLoaderFactory
|
|||
void OnRequestError(const network::URLLoaderCompletionStatus& status);
|
||||
void HandleBeforeRequestRedirect();
|
||||
|
||||
ProxyingURLLoaderFactory* const factory_;
|
||||
raw_ptr<ProxyingURLLoaderFactory> const factory_;
|
||||
network::ResourceRequest request_;
|
||||
const absl::optional<url::Origin> original_initiator_;
|
||||
const uint64_t request_id_ = 0;
|
||||
|
@ -247,7 +248,7 @@ class ProxyingURLLoaderFactory
|
|||
bool ShouldIgnoreConnectionsLimit(const network::ResourceRequest& request);
|
||||
|
||||
// Passed from api::WebRequest.
|
||||
WebRequestAPI* web_request_api_;
|
||||
raw_ptr<WebRequestAPI> web_request_api_;
|
||||
|
||||
// This is passed from api::Protocol.
|
||||
//
|
||||
|
@ -260,7 +261,7 @@ class ProxyingURLLoaderFactory
|
|||
|
||||
const int render_process_id_;
|
||||
const int frame_routing_id_;
|
||||
uint64_t* request_id_generator_; // managed by ElectronBrowserClient
|
||||
raw_ptr<uint64_t> request_id_generator_; // managed by ElectronBrowserClient
|
||||
std::unique_ptr<extensions::ExtensionNavigationUIData> navigation_ui_data_;
|
||||
absl::optional<int64_t> navigation_id_;
|
||||
mojo::ReceiverSet<network::mojom::URLLoaderFactory> proxy_receivers_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue