Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: chrome/browser/metrics/chrome_metrics_service_client.h

Issue 2774503002: Track network stack error codes from UMA and UKM (Closed)
Patch Set: Rebase on Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 std::string GetVersionString() override; 75 std::string GetVersionString() override;
76 void OnEnvironmentUpdate(std::string* serialized_environment) override; 76 void OnEnvironmentUpdate(std::string* serialized_environment) override;
77 void OnLogCleanShutdown() override; 77 void OnLogCleanShutdown() override;
78 void InitializeSystemProfileMetrics( 78 void InitializeSystemProfileMetrics(
79 const base::Closure& done_callback) override; 79 const base::Closure& done_callback) override;
80 void CollectFinalMetricsForLog(const base::Closure& done_callback) override; 80 void CollectFinalMetricsForLog(const base::Closure& done_callback) override;
81 std::unique_ptr<metrics::MetricsLogUploader> CreateUploader( 81 std::unique_ptr<metrics::MetricsLogUploader> CreateUploader(
82 base::StringPiece server_url, 82 base::StringPiece server_url,
83 base::StringPiece mime_type, 83 base::StringPiece mime_type,
84 metrics::MetricsLogUploader::MetricServiceType service_type, 84 metrics::MetricsLogUploader::MetricServiceType service_type,
85 const base::Callback<void(int)>& on_upload_complete) override; 85 const metrics::MetricsLogUploader::UploadCallback& on_upload_complete)
86 override;
86 base::TimeDelta GetStandardUploadInterval() override; 87 base::TimeDelta GetStandardUploadInterval() override;
87 base::string16 GetRegistryBackupKey() override; 88 base::string16 GetRegistryBackupKey() override;
88 void OnPluginLoadingError(const base::FilePath& plugin_path) override; 89 void OnPluginLoadingError(const base::FilePath& plugin_path) override;
89 bool IsReportingPolicyManaged() override; 90 bool IsReportingPolicyManaged() override;
90 metrics::EnableMetricsDefault GetMetricsReportingDefaultState() override; 91 metrics::EnableMetricsDefault GetMetricsReportingDefaultState() override;
91 bool IsUMACellularUploadLogicEnabled() override; 92 bool IsUMACellularUploadLogicEnabled() override;
92 bool IsHistorySyncEnabledOnAllProfiles() override; 93 bool IsHistorySyncEnabledOnAllProfiles() override;
93 94
94 // ukm::HistoryDeleteObserver: 95 // ukm::HistoryDeleteObserver:
95 void OnHistoryDeleted() override; 96 void OnHistoryDeleted() override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Whether this client has already uploaded profiler data during this session. 247 // Whether this client has already uploaded profiler data during this session.
247 // Profiler data is uploaded at most once per session. 248 // Profiler data is uploaded at most once per session.
248 bool has_uploaded_profiler_data_; 249 bool has_uploaded_profiler_data_;
249 250
250 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; 251 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_;
251 252
252 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); 253 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient);
253 }; 254 };
254 255
255 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 256 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_metrics_service_client_impl.cc ('k') | chrome/browser/metrics/chrome_metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698