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

Side by Side Diff: components/gcm_driver/fake_gcm_driver.cc

Issue 1515153003: Enable chrome://gcm-internals on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_client_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/gcm_driver/fake_gcm_driver.h" 5 #include "components/gcm_driver/fake_gcm_driver.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 8
9 namespace gcm { 9 namespace gcm {
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 bool FakeGCMDriver::IsStarted() const { 44 bool FakeGCMDriver::IsStarted() const {
45 return true; 45 return true;
46 } 46 }
47 47
48 bool FakeGCMDriver::IsConnected() const { 48 bool FakeGCMDriver::IsConnected() const {
49 return true; 49 return true;
50 } 50 }
51 51
52 void FakeGCMDriver::GetGCMStatistics(const GetGCMStatisticsCallback& callback, 52 void FakeGCMDriver::GetGCMStatistics(const GetGCMStatisticsCallback& callback,
53 bool clear_logs) { 53 ClearActivityLogs clear_logs) {
54 } 54 }
55 55
56 void FakeGCMDriver::SetGCMRecording(const GetGCMStatisticsCallback& callback, 56 void FakeGCMDriver::SetGCMRecording(const GetGCMStatisticsCallback& callback,
57 bool recording) { 57 bool recording) {
58 } 58 }
59 59
60 GCMClient::Result FakeGCMDriver::EnsureStarted( 60 GCMClient::Result FakeGCMDriver::EnsureStarted(
61 GCMClient::StartMode start_mode) { 61 GCMClient::StartMode start_mode) {
62 return GCMClient::SUCCESS; 62 return GCMClient::SUCCESS;
63 } 63 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 101
102 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, 102 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope,
103 int interval_ms) { 103 int interval_ms) {
104 } 104 }
105 105
106 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { 106 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) {
107 } 107 }
108 108
109 } // namespace gcm 109 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698