| OLD | NEW |
| 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 COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_H_ |
| 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 11 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
| 12 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 13 #include "components/signin/core/browser/signin_manager_base.h" | 16 #include "components/signin/core/browser/signin_manager_base.h" |
| 14 #include "components/signin/core/browser/signin_status_metrics_provider_base.h" | 17 #include "components/signin/core/browser/signin_status_metrics_provider_base.h" |
| 15 #include "components/signin/core/browser/signin_status_metrics_provider_delegate
.h" | 18 #include "components/signin/core/browser/signin_status_metrics_provider_delegate
.h" |
| 16 | 19 |
| 17 namespace metrics { | 20 namespace metrics { |
| 18 class ChromeUserMetricsExtension; | 21 class ChromeUserMetricsExtension; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 96 |
| 94 // Whether the instance is for testing or not. | 97 // Whether the instance is for testing or not. |
| 95 bool is_test_; | 98 bool is_test_; |
| 96 | 99 |
| 97 base::WeakPtrFactory<SigninStatusMetricsProvider> weak_ptr_factory_; | 100 base::WeakPtrFactory<SigninStatusMetricsProvider> weak_ptr_factory_; |
| 98 | 101 |
| 99 DISALLOW_COPY_AND_ASSIGN(SigninStatusMetricsProvider); | 102 DISALLOW_COPY_AND_ASSIGN(SigninStatusMetricsProvider); |
| 100 }; | 103 }; |
| 101 | 104 |
| 102 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_H_ | 105 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_H_ |
| OLD | NEW |