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

Side by Side Diff: chrome/browser/metrics/chrome_metrics_service_client.h

Issue 1194373002: Moved ScopedPtrMap into base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jianli-gcm_client_impl
Patch Set: Rebase and update against media_galleries. Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 MemoryGrowthTracker memory_growth_tracker_; 184 MemoryGrowthTracker memory_growth_tracker_;
185 185
186 // Callback to determine whether or not a cellular network is currently being 186 // Callback to determine whether or not a cellular network is currently being
187 // used. 187 // used.
188 base::Callback<void(bool*)> cellular_callback_; 188 base::Callback<void(bool*)> cellular_callback_;
189 189
190 // Time of this object's creation. 190 // Time of this object's creation.
191 const base::TimeTicks start_time_; 191 const base::TimeTicks start_time_;
192 192
193 // Map of ProcessResourceUsage from render process host IDs. 193 // Map of ProcessResourceUsage from render process host IDs.
194 ScopedPtrMap<int, scoped_ptr<ProcessResourceUsage>> host_resource_usage_map_; 194 base::ScopedPtrMap<int, scoped_ptr<ProcessResourceUsage>>
195 host_resource_usage_map_;
195 196
196 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; 197 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_;
197 198
198 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); 199 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient);
199 }; 200 };
200 201
201 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 202 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/media_galleries/media_file_system_registry.h ('k') | chrome/browser/metrics/chrome_metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698