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

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

Issue 2615753002: Remove time ticks metrics and MetricServiceClient::OnLogUploadComplete (Closed)
Patch Set: Rebase Created 3 years, 11 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/metrics/chrome_metrics_service_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // metrics::MetricsServiceClient: 62 // metrics::MetricsServiceClient:
63 metrics::MetricsService* GetMetricsService() override; 63 metrics::MetricsService* GetMetricsService() override;
64 void SetMetricsClientId(const std::string& client_id) override; 64 void SetMetricsClientId(const std::string& client_id) override;
65 int32_t GetProduct() override; 65 int32_t GetProduct() override;
66 std::string GetApplicationLocale() override; 66 std::string GetApplicationLocale() override;
67 bool GetBrand(std::string* brand_code) override; 67 bool GetBrand(std::string* brand_code) override;
68 metrics::SystemProfileProto::Channel GetChannel() override; 68 metrics::SystemProfileProto::Channel GetChannel() override;
69 std::string GetVersionString() override; 69 std::string GetVersionString() override;
70 void OnEnvironmentUpdate(std::string* serialized_environment) override; 70 void OnEnvironmentUpdate(std::string* serialized_environment) override;
71 void OnLogUploadComplete() override;
72 void OnLogCleanShutdown() override; 71 void OnLogCleanShutdown() override;
73 void InitializeSystemProfileMetrics( 72 void InitializeSystemProfileMetrics(
74 const base::Closure& done_callback) override; 73 const base::Closure& done_callback) override;
75 void CollectFinalMetricsForLog(const base::Closure& done_callback) override; 74 void CollectFinalMetricsForLog(const base::Closure& done_callback) override;
76 std::unique_ptr<metrics::MetricsLogUploader> CreateUploader( 75 std::unique_ptr<metrics::MetricsLogUploader> CreateUploader(
77 const std::string& server_url, 76 const std::string& server_url,
78 const std::string& mime_type, 77 const std::string& mime_type,
79 const base::Callback<void(int)>& on_upload_complete) override; 78 const base::Callback<void(int)>& on_upload_complete) override;
80 base::TimeDelta GetStandardUploadInterval() override; 79 base::TimeDelta GetStandardUploadInterval() override;
81 base::string16 GetRegistryBackupKey() override; 80 base::string16 GetRegistryBackupKey() override;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // Whether this client has already uploaded profiler data during this session. 219 // Whether this client has already uploaded profiler data during this session.
221 // Profiler data is uploaded at most once per session. 220 // Profiler data is uploaded at most once per session.
222 bool has_uploaded_profiler_data_; 221 bool has_uploaded_profiler_data_;
223 222
224 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; 223 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_;
225 224
226 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); 225 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient);
227 }; 226 };
228 227
229 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 228 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/metrics/chrome_metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698