Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: components/policy/core/common/cloud/external_policy_data_fetcher.h

Issue 2282053004: Remove a use of stl_util in policy. (Closed)
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/policy/core/common/cloud/external_policy_data_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | components/policy/core/common/cloud/external_policy_data_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698