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

Unified Diff: google_apis/gcm/engine/registration_request.h

Issue 1167753002: Add more UMAs for Instance ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more feedback Created 5 years, 6 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
Index: google_apis/gcm/engine/registration_request.h
diff --git a/google_apis/gcm/engine/registration_request.h b/google_apis/gcm/engine/registration_request.h
index c4c3ae7c063a3216a1228e14358f04479d97238e..96d77fd36cfa156ee4f167e1b3e69f460b9a814d 100644
--- a/google_apis/gcm/engine/registration_request.h
+++ b/google_apis/gcm/engine/registration_request.h
@@ -87,6 +87,11 @@ class GCM_EXPORT RegistrationRequest : public net::URLFetcherDelegate {
// RegistrationRequest::BuildRequestBody to append more custom info to
// |body|. Note that the request body is encoded in HTTP form format.
virtual void BuildRequestBody(std::string* body) = 0;
+
+ // Reports various UMAs, including status, retry count and completion time.
+ virtual void ReportUMAs(Status status,
+ int retry_count,
+ base::TimeDelta complete_time) = 0;
};
RegistrationRequest(
« no previous file with comments | « google_apis/gcm/engine/instance_id_get_token_request_handler.cc ('k') | google_apis/gcm/engine/registration_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698