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

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

Issue 1851423003: Make Web Push use InstanceID tokens instead of GCM registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid4default
Patch Set: Rebase (main conflics in browsertest and PMMF) Created 4 years, 6 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
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 #ifndef COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_
6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ 6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/gcm_driver/gcm_driver.h" 10 #include "components/gcm_driver/gcm_driver.h"
11 11
12 namespace base {
13 class SequencedTaskRunner;
14 }
15
12 namespace gcm { 16 namespace gcm {
13 17
14 class FakeGCMDriver : public GCMDriver { 18 class FakeGCMDriver : public GCMDriver {
15 public: 19 public:
16 FakeGCMDriver(); 20 FakeGCMDriver();
17 explicit FakeGCMDriver( 21 explicit FakeGCMDriver(
18 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner); 22 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner);
19 23
20 ~FakeGCMDriver() override; 24 ~FakeGCMDriver() override;
21 25
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 GCMEncryptionProvider::DecryptionResult result) 62 GCMEncryptionProvider::DecryptionResult result)
59 override; 63 override;
60 64
61 private: 65 private:
62 DISALLOW_COPY_AND_ASSIGN(FakeGCMDriver); 66 DISALLOW_COPY_AND_ASSIGN(FakeGCMDriver);
63 }; 67 };
64 68
65 } // namespace gcm 69 } // namespace gcm
66 70
67 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ 71 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698