Index: chrome/browser/services/gcm/gcm_client_mock.cc |
diff --git a/chrome/browser/services/gcm/gcm_client_mock.cc b/chrome/browser/services/gcm/gcm_client_mock.cc |
index 656fe558b366fe9eb15284a6bcef253227a7f59f..6bc857834be3582a5bf06a459991ba4f2d341bc9 100644 |
--- a/chrome/browser/services/gcm/gcm_client_mock.cc |
+++ b/chrome/browser/services/gcm/gcm_client_mock.cc |
@@ -10,6 +10,7 @@ |
#include "base/sys_byteorder.h" |
#include "base/time/time.h" |
#include "content/public/browser/browser_thread.h" |
+#include "google_apis/gcm/gcm_client.h" |
jianli
2014/03/04 23:47:39
nit: not needed since it has already been included
juyik
2014/03/05 05:08:08
Done.
|
namespace gcm { |
@@ -91,6 +92,10 @@ void GCMClientMock::Send(const std::string& app_id, |
message.id)); |
} |
+GCMClient::GCMStatistics GCMClientMock::GetStatistics() const { |
+ return stats_; |
jianli
2014/03/04 23:47:39
Where is it being set? If we intent to return a du
juyik
2014/03/05 05:08:08
Done.
|
+} |
+ |
void GCMClientMock::PerformDelayedLoading() { |
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |