| 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 CHROMECAST_BROWSER_METRICS_CAST_METRICS_SERVICE_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_METRICS_CAST_METRICS_SERVICE_CLIENT_H_ |
| 6 #define CHROMECAST_BROWSER_METRICS_CAST_METRICS_SERVICE_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_METRICS_CAST_METRICS_SERVICE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 scoped_ptr< ::metrics::ClientInfo> LoadClientInfo(); | 84 scoped_ptr< ::metrics::ClientInfo> LoadClientInfo(); |
| 85 void StoreClientInfo(const ::metrics::ClientInfo& client_info); | 85 void StoreClientInfo(const ::metrics::ClientInfo& client_info); |
| 86 | 86 |
| 87 base::TaskRunner* const io_task_runner_; | 87 base::TaskRunner* const io_task_runner_; |
| 88 PrefService* const pref_service_; | 88 PrefService* const pref_service_; |
| 89 CastService* cast_service_; | 89 CastService* cast_service_; |
| 90 std::string client_id_; | 90 std::string client_id_; |
| 91 | 91 |
| 92 #if defined(OS_LINUX) | 92 #if defined(OS_LINUX) |
| 93 scoped_ptr<ExternalMetrics> external_metrics_; | 93 ExternalMetrics* external_metrics_; |
| 94 #endif // defined(OS_LINUX) | 94 #endif // defined(OS_LINUX) |
| 95 const scoped_refptr<base::MessageLoopProxy> metrics_service_loop_; | 95 const scoped_refptr<base::MessageLoopProxy> metrics_service_loop_; |
| 96 scoped_ptr< ::metrics::MetricsStateManager> metrics_state_manager_; | 96 scoped_ptr< ::metrics::MetricsStateManager> metrics_state_manager_; |
| 97 scoped_ptr< ::metrics::MetricsService> metrics_service_; | 97 scoped_ptr< ::metrics::MetricsService> metrics_service_; |
| 98 net::URLRequestContextGetter* const request_context_; | 98 net::URLRequestContextGetter* const request_context_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(CastMetricsServiceClient); | 100 DISALLOW_COPY_AND_ASSIGN(CastMetricsServiceClient); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace metrics | 103 } // namespace metrics |
| 104 } // namespace chromecast | 104 } // namespace chromecast |
| 105 | 105 |
| 106 #endif // CHROMECAST_BROWSER_METRICS_CAST_METRICS_SERVICE_CLIENT_H_ | 106 #endif // CHROMECAST_BROWSER_METRICS_CAST_METRICS_SERVICE_CLIENT_H_ |
| OLD | NEW |