Index: components/policy/core/common/cloud/external_policy_data_fetcher.h |
diff --git a/components/policy/core/common/cloud/external_policy_data_fetcher.h b/components/policy/core/common/cloud/external_policy_data_fetcher.h |
index be37dd869921700ae459c991dea5bd23ec36159f..a54261d1587c6409e88e4b79a2123ed7f2007679 100644 |
--- a/components/policy/core/common/cloud/external_policy_data_fetcher.h |
+++ b/components/policy/core/common/cloud/external_policy_data_fetcher.h |
@@ -174,8 +174,8 @@ class POLICY_EXPORT ExternalPolicyDataFetcherBackend |
// Map that owns the net::URLFetchers for all currently running jobs and maps |
// from these to the corresponding Job. |
- typedef std::map<net::URLFetcher*, ExternalPolicyDataFetcher::Job*> JobMap; |
- JobMap job_map_; |
+ struct FetcherAndJob; |
+ std::map<const net::URLFetcher*, FetcherAndJob> job_map_; |
base::WeakPtrFactory<ExternalPolicyDataFetcherBackend> weak_factory_; |