| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/feature_list.h" | 10 #include "base/feature_list.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // metrics_services_manager::MetricsServicesManagerClient: | 65 // metrics_services_manager::MetricsServicesManagerClient: |
| 66 std::unique_ptr<rappor::RapporServiceImpl> CreateRapporServiceImpl() override; | 66 std::unique_ptr<rappor::RapporServiceImpl> CreateRapporServiceImpl() override; |
| 67 std::unique_ptr<variations::VariationsService> CreateVariationsService() | 67 std::unique_ptr<variations::VariationsService> CreateVariationsService() |
| 68 override; | 68 override; |
| 69 std::unique_ptr<metrics::MetricsServiceClient> CreateMetricsServiceClient() | 69 std::unique_ptr<metrics::MetricsServiceClient> CreateMetricsServiceClient() |
| 70 override; | 70 override; |
| 71 std::unique_ptr<const base::FieldTrial::EntropyProvider> | 71 std::unique_ptr<const base::FieldTrial::EntropyProvider> |
| 72 CreateEntropyProvider() override; | 72 CreateEntropyProvider() override; |
| 73 net::URLRequestContextGetter* GetURLRequestContext() override; | 73 net::URLRequestContextGetter* GetURLRequestContext() override; |
| 74 bool IsMetricsReportingEnabled() override; | 74 bool IsMetricsReportingEnabled() override; |
| 75 bool OnlyDoMetricsRecording() override; | |
| 76 | 75 |
| 77 #if defined(OS_WIN) | 76 #if defined(OS_WIN) |
| 78 // On Windows, the client controls whether Crashpad can upload crash reports. | 77 // On Windows, the client controls whether Crashpad can upload crash reports. |
| 79 void UpdateRunningServices(bool may_record, bool may_upload) override; | 78 void UpdateRunningServices(bool may_record, bool may_upload) override; |
| 80 #endif // defined(OS_WIN) | 79 #endif // defined(OS_WIN) |
| 81 | 80 |
| 82 bool IsMetricsReportingForceEnabled() override; | 81 bool IsMetricsReportingForceEnabled() override; |
| 83 | 82 |
| 84 // Gets the MetricsStateManager, creating it if it has not already been | 83 // Gets the MetricsStateManager, creating it if it has not already been |
| 85 // created. | 84 // created. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 100 | 99 |
| 101 #if defined(OS_CHROMEOS) | 100 #if defined(OS_CHROMEOS) |
| 102 std::unique_ptr<chromeos::CrosSettings::ObserverSubscription> | 101 std::unique_ptr<chromeos::CrosSettings::ObserverSubscription> |
| 103 cros_settings_observer_; | 102 cros_settings_observer_; |
| 104 #endif | 103 #endif |
| 105 | 104 |
| 106 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServicesManagerClient); | 105 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServicesManagerClient); |
| 107 }; | 106 }; |
| 108 | 107 |
| 109 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ | 108 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICES_MANAGER_CLIENT_H_ |
| OLD | NEW |