| OLD | NEW |
| 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/macros.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" |
| 11 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 11 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 12 #include "components/metrics_services_manager/metrics_services_manager_client.h" | 12 #include "components/metrics_services_manager/metrics_services_manager_client.h" |
| 13 | 13 |
| 14 class PrefService; | 14 class PrefService; |
| 15 | 15 |
| 16 namespace metrics { | 16 namespace metrics { |
| 17 class MetricsStateManager; | 17 class MetricsStateManager; |
| 18 } | 18 } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 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<safe_browsing::SafeBrowsingService::StateSubscription> | 52 scoped_ptr<safe_browsing::SafeBrowsingService::StateSubscription> |
| 53 sb_state_subscription_; | 53 sb_state_subscription_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServicesManagerClient); | 55 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServicesManagerClient); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ | 58 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ |
| OLD | NEW |