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

Side by Side Diff: components/gcm_driver/gcm_driver_android.cc

Issue 1707513002: Add various UMA histograms for measuring GCM crypto performance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcm-remove-info
Patch Set: android fix Created 4 years, 10 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 | « components/gcm_driver/gcm_driver_android.h ('k') | components/gcm_driver/gcm_driver_desktop.h » ('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 #include "components/gcm_driver/gcm_driver_android.h" 5 #include "components/gcm_driver/gcm_driver_android.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/android/context_utils.h" 10 #include "base/android/context_utils.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 } 252 }
253 253
254 void GCMDriverAndroid::SendImpl(const std::string& app_id, 254 void GCMDriverAndroid::SendImpl(const std::string& app_id,
255 const std::string& receiver_id, 255 const std::string& receiver_id,
256 const OutgoingMessage& message) { 256 const OutgoingMessage& message) {
257 NOTIMPLEMENTED(); 257 NOTIMPLEMENTED();
258 } 258 }
259 259
260 void GCMDriverAndroid::RecordDecryptionFailure( 260 void GCMDriverAndroid::RecordDecryptionFailure(
261 const std::string& app_id, 261 const std::string& app_id,
262 GCMEncryptionProvider::DecryptionFailure reason) { 262 GCMEncryptionProvider::DecryptionResult result) {
263 recorder_.RecordDecryptionFailure(app_id, reason); 263 recorder_.RecordDecryptionFailure(app_id, result);
264 } 264 }
265 265
266 } // namespace gcm 266 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_driver_android.h ('k') | components/gcm_driver/gcm_driver_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698