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

Side by Side Diff: android_webview/browser/aw_metrics_service_client.cc

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
OLDNEW
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 #include "android_webview/browser/aw_metrics_service_client.h" 5 #include "android_webview/browser/aw_metrics_service_client.h"
6 6
7 #include "android_webview/common/aw_version_info_values.h" 7 #include "android_webview/common/aw_version_info_values.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/guid.h" 10 #include "base/guid.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 metrics::SystemProfileProto::Channel AwMetricsServiceClient::GetChannel() { 180 metrics::SystemProfileProto::Channel AwMetricsServiceClient::GetChannel() {
181 // "Channel" means stable, beta, etc. WebView doesn't have channel info yet. 181 // "Channel" means stable, beta, etc. WebView doesn't have channel info yet.
182 // TODO(paulmiller) Update this once we have channel info. 182 // TODO(paulmiller) Update this once we have channel info.
183 return metrics::SystemProfileProto::CHANNEL_UNKNOWN; 183 return metrics::SystemProfileProto::CHANNEL_UNKNOWN;
184 } 184 }
185 185
186 std::string AwMetricsServiceClient::GetVersionString() { 186 std::string AwMetricsServiceClient::GetVersionString() {
187 return PRODUCT_VERSION; 187 return PRODUCT_VERSION;
188 } 188 }
189 189
190 void AwMetricsServiceClient::OnLogUploadComplete() {}
191
192 void AwMetricsServiceClient::InitializeSystemProfileMetrics( 190 void AwMetricsServiceClient::InitializeSystemProfileMetrics(
193 const base::Closure& done_callback) { 191 const base::Closure& done_callback) {
194 done_callback.Run(); 192 done_callback.Run();
195 } 193 }
196 194
197 void AwMetricsServiceClient::CollectFinalMetricsForLog( 195 void AwMetricsServiceClient::CollectFinalMetricsForLog(
198 const base::Closure& done_callback) { 196 const base::Closure& done_callback) {
199 done_callback.Run(); 197 done_callback.Run();
200 } 198 }
201 199
(...skipping 13 matching lines...) Expand all
215 213
216 AwMetricsServiceClient::AwMetricsServiceClient() 214 AwMetricsServiceClient::AwMetricsServiceClient()
217 : is_initialized_(false), 215 : is_initialized_(false),
218 is_enabled_(false), 216 is_enabled_(false),
219 pref_service_(nullptr), 217 pref_service_(nullptr),
220 request_context_(nullptr) {} 218 request_context_(nullptr) {}
221 219
222 AwMetricsServiceClient::~AwMetricsServiceClient() {} 220 AwMetricsServiceClient::~AwMetricsServiceClient() {}
223 221
224 } // namespace android_webview 222 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_metrics_service_client.h ('k') | blimp/engine/app/blimp_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698