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

Unified Diff: google_apis/gcm/gcm_client_impl.h

Issue 176823009: Show device information in chrome://gcm-internals page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 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 side-by-side diff with in-line comments
Download patch
Index: google_apis/gcm/gcm_client_impl.h
diff --git a/google_apis/gcm/gcm_client_impl.h b/google_apis/gcm/gcm_client_impl.h
index 9299bd57d207831d618a9d3802366ecfd2b71ec6..1aed3a34a961c8d942ac516af21d08e3fc94839f 100644
--- a/google_apis/gcm/gcm_client_impl.h
+++ b/google_apis/gcm/gcm_client_impl.h
@@ -64,6 +64,7 @@ class GCM_EXPORT GCMClientImpl : public GCMClient {
const std::string& receiver_id,
const OutgoingMessage& message) OVERRIDE;
virtual bool IsReady() const OVERRIDE;
+ virtual void GetStatistics(GCMStatistics* stats) const OVERRIDE;
private:
// State representation of the GCMClient.
@@ -78,6 +79,8 @@ class GCM_EXPORT GCMClientImpl : public GCMClient {
READY,
};
+ std::string GetStateString(gcm::GCMClientImpl::State state) const;
+
// The check-in info for the user. Returned by the server.
struct GCM_EXPORT CheckinInfo {
CheckinInfo() : android_id(0), secret(0) {}

Powered by Google App Engine
This is Rietveld 408576698