| 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 IOS_CHROME_BROWSER_METRICS_IOS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ | 5 #ifndef IOS_CHROME_BROWSER_METRICS_IOS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ |
| 6 #define IOS_CHROME_BROWSER_METRICS_IOS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ | 6 #define IOS_CHROME_BROWSER_METRICS_IOS_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 "components/metrics_services_manager/metrics_services_manager_client.h" | 11 #include "components/metrics_services_manager/metrics_services_manager_client.h" |
| 12 | 12 |
| 13 class PrefService; | 13 class PrefService; |
| 14 | 14 |
| 15 namespace metrics { | 15 namespace metrics { |
| 16 class MetricsStateManager; | 16 class MetricsStateManager; |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 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 DISALLOW_COPY_AND_ASSIGN(IOSChromeMetricsServicesManagerClient); | 51 DISALLOW_COPY_AND_ASSIGN(IOSChromeMetricsServicesManagerClient); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 #endif // IOS_CHROME_BROWSER_METRICS_IOS_CHROME_METRICS_SERVICES_MANAGER_CLIENT
_H_ | 54 #endif // IOS_CHROME_BROWSER_METRICS_IOS_CHROME_METRICS_SERVICES_MANAGER_CLIENT
_H_ |
| OLD | NEW |