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

Unified Diff: chrome/browser/services/gcm/gcm_client_mock.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: chrome/browser/services/gcm/gcm_client_mock.h
diff --git a/chrome/browser/services/gcm/gcm_client_mock.h b/chrome/browser/services/gcm/gcm_client_mock.h
index 23fc7c41a216eae107bdeba19ed8dd77dc65d855..3729f88653bc2ecd577c1495f2fb76782c6634cc 100644
--- a/chrome/browser/services/gcm/gcm_client_mock.h
+++ b/chrome/browser/services/gcm/gcm_client_mock.h
@@ -53,6 +53,7 @@ class GCMClientMock : public GCMClient {
virtual void Send(const std::string& app_id,
const std::string& receiver_id,
const OutgoingMessage& message) OVERRIDE;
+ virtual GCMStatistics GetStatistics() const OVERRIDE;
// Initiate the loading that has been delayed.
// Called on UI thread.
@@ -84,6 +85,7 @@ class GCMClientMock : public GCMClient {
Delegate* delegate_;
Status status_;
+ GCMClient::GCMStatistics stats_;
LoadingDelay loading_delay_;
ErrorSimulation error_simulation_;
base::WeakPtrFactory<GCMClientMock> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698