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

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

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_client.h ('k') | components/gcm_driver/fake_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 #ifndef COMPONENTS_GCM_DRIVER_FAKE_GCM_CLIENT_FACTORY_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_FAKE_GCM_CLIENT_FACTORY_H_
6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_CLIENT_FACTORY_H_ 6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_CLIENT_FACTORY_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/fake_gcm_client.h" 10 #include "components/gcm_driver/fake_gcm_client.h"
11 #include "components/gcm_driver/gcm_client_factory.h" 11 #include "components/gcm_driver/gcm_client_factory.h"
12 12
13 namespace base { 13 namespace base {
14 class SequencedTaskRunner; 14 class SequencedTaskRunner;
15 } 15 }
16 16
17 namespace gcm { 17 namespace gcm {
18 18
19 class GCMClient; 19 class GCMClient;
20 20
21 class FakeGCMClientFactory : public GCMClientFactory { 21 class FakeGCMClientFactory : public GCMClientFactory {
22 public: 22 public:
23 FakeGCMClientFactory( 23 FakeGCMClientFactory(
24 FakeGCMClient::StartMode gcm_client_start_mode, 24 FakeGCMClient::StartMode gcm_client_start_mode,
25 const scoped_refptr<base::SequencedTaskRunner>& ui_thread, 25 const scoped_refptr<base::SequencedTaskRunner>& ui_thread,
26 const scoped_refptr<base::SequencedTaskRunner>& io_thread); 26 const scoped_refptr<base::SequencedTaskRunner>& io_thread);
27 virtual ~FakeGCMClientFactory(); 27 virtual ~FakeGCMClientFactory();
28 28
29 // GCMClientFactory: 29 // GCMClientFactory:
30 virtual scoped_ptr<GCMClient> BuildInstance() OVERRIDE; 30 virtual scoped_ptr<GCMClient> BuildInstance() override;
31 31
32 private: 32 private:
33 FakeGCMClient::StartMode gcm_client_start_mode_; 33 FakeGCMClient::StartMode gcm_client_start_mode_;
34 scoped_refptr<base::SequencedTaskRunner> ui_thread_; 34 scoped_refptr<base::SequencedTaskRunner> ui_thread_;
35 scoped_refptr<base::SequencedTaskRunner> io_thread_; 35 scoped_refptr<base::SequencedTaskRunner> io_thread_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(FakeGCMClientFactory); 37 DISALLOW_COPY_AND_ASSIGN(FakeGCMClientFactory);
38 }; 38 };
39 39
40 } // namespace gcm 40 } // namespace gcm
41 41
42 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_CLIENT_FACTORY_H_ 42 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_CLIENT_FACTORY_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_client.h ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698