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

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

Issue 1259613002: Revert of Hook up the Push API with GCM's new ability to own encryption keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcm-encryption
Patch Set: Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_driver.h » ('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"
8
9 namespace gcm { 7 namespace gcm {
10 8
11 FakeGCMDriver::FakeGCMDriver() : GCMDriver(base::FilePath(), nullptr) { 9 FakeGCMDriver::FakeGCMDriver() {
12 }
13
14 FakeGCMDriver::FakeGCMDriver(
15 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner)
16 : GCMDriver(base::FilePath(), blocking_task_runner) {
17 } 10 }
18 11
19 FakeGCMDriver::~FakeGCMDriver() { 12 FakeGCMDriver::~FakeGCMDriver() {
20 } 13 }
21 14
22 void FakeGCMDriver::Shutdown() { 15 void FakeGCMDriver::Shutdown() {
23 } 16 }
24 17
25 void FakeGCMDriver::AddAppHandler( 18 void FakeGCMDriver::AddAppHandler(
26 const std::string& app_id, GCMAppHandler* handler) { 19 const std::string& app_id, GCMAppHandler* handler) {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 103 }
111 104
112 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, 105 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope,
113 int interval_ms) { 106 int interval_ms) {
114 } 107 }
115 108
116 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { 109 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) {
117 } 110 }
118 111
119 } // namespace gcm 112 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698