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

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

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Remove '// namespace safe_browsing' for a small fwd decl block. Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SERVICES_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // MetricsStateManager which is passed as a parameter to service constructors. 42 // MetricsStateManager which is passed as a parameter to service constructors.
43 scoped_ptr<metrics::MetricsStateManager> metrics_state_manager_; 43 scoped_ptr<metrics::MetricsStateManager> metrics_state_manager_;
44 44
45 // Ensures that all functions are called from the same thread. 45 // Ensures that all functions are called from the same thread.
46 base::ThreadChecker thread_checker_; 46 base::ThreadChecker thread_checker_;
47 47
48 // Weak pointer to the local state prefs store. 48 // Weak pointer to the local state prefs store.
49 PrefService* local_state_; 49 PrefService* local_state_;
50 50
51 // Subscription to SafeBrowsing service state changes. 51 // Subscription to SafeBrowsing service state changes.
52 scoped_ptr<SafeBrowsingService::StateSubscription> sb_state_subscription_; 52 scoped_ptr<safe_browsing::SafeBrowsingService::StateSubscription>
53 sb_state_subscription_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServicesManagerClient); 55 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServicesManagerClient);
55 }; 56 };
56 57
57 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ 58 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698