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

Unified Diff: google_apis/gcm/monitoring/gcm_stats_recorder.h

Issue 1137463003: Support getting and deleting token for Instance ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch to land Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/monitoring/gcm_stats_recorder.h
diff --git a/google_apis/gcm/monitoring/gcm_stats_recorder.h b/google_apis/gcm/monitoring/gcm_stats_recorder.h
index 71915693fdabebb550c10fdceccb885ee0691c51..83367d8ee1462ecbf42a70032369f4bb53671bca 100644
--- a/google_apis/gcm/monitoring/gcm_stats_recorder.h
+++ b/google_apis/gcm/monitoring/gcm_stats_recorder.h
@@ -32,7 +32,7 @@ class GCM_EXPORT GCMStatsRecorder {
// A delegate interface that allows the GCMStatsRecorderImpl instance to
// interact with its container.
class Delegate {
- public:
+ public:
// Called when the GCMStatsRecorderImpl is recording activities and a new
// activity has just been recorded.
virtual void OnActivityRecorded() = 0;
@@ -73,19 +73,19 @@ class GCM_EXPORT GCMStatsRecorder {
// Records that a registration request has been sent. This could be initiated
// directly from API, or from retry logic.
virtual void RecordRegistrationSent(const std::string& app_id,
- const std::string& sender_ids) = 0;
+ const std::string& senders) = 0;
// Records that a registration response has been received from server.
virtual void RecordRegistrationResponse(
const std::string& app_id,
- const std::vector<std::string>& sender_ids,
+ const std::string& senders,
RegistrationRequest::Status status) = 0;
// Records that a registration retry has been requested. The actual retry
// action may not occur until some time later according to backoff logic.
virtual void RecordRegistrationRetryRequested(
const std::string& app_id,
- const std::vector<std::string>& sender_ids,
+ const std::string& senders,
int retries_left) = 0;
// Records that an unregistration request has been sent. This could be
« no previous file with comments | « google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698