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

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

Issue 1231613005: 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, 4 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
7 namespace gcm { 9 namespace gcm {
8 10
9 FakeGCMDriver::FakeGCMDriver() { 11 FakeGCMDriver::FakeGCMDriver() : GCMDriver(base::FilePath(), nullptr) {
12 }
13
14 FakeGCMDriver::FakeGCMDriver(
15 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner)
16 : GCMDriver(base::FilePath(), blocking_task_runner) {
10 } 17 }
11 18
12 FakeGCMDriver::~FakeGCMDriver() { 19 FakeGCMDriver::~FakeGCMDriver() {
13 } 20 }
14 21
15 void FakeGCMDriver::Shutdown() { 22 void FakeGCMDriver::Shutdown() {
16 } 23 }
17 24
18 void FakeGCMDriver::AddAppHandler( 25 void FakeGCMDriver::AddAppHandler(
19 const std::string& app_id, GCMAppHandler* handler) { 26 const std::string& app_id, GCMAppHandler* handler) {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 110 }
104 111
105 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, 112 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope,
106 int interval_ms) { 113 int interval_ms) {
107 } 114 }
108 115
109 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { 116 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) {
110 } 117 }
111 118
112 } // namespace gcm 119 } // 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