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

Side by Side Diff: components/invalidation/ticl_invalidation_service_unittest.cc

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
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/invalidation/ticl_invalidation_service.h" 5 #include "components/invalidation/ticl_invalidation_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "components/gcm_driver/fake_gcm_driver.h" 10 #include "components/gcm_driver/fake_gcm_driver.h"
(...skipping 12 matching lines...) Expand all
23 namespace invalidation { 23 namespace invalidation {
24 24
25 namespace { 25 namespace {
26 26
27 class FakeTiclSettingsProvider : public TiclSettingsProvider { 27 class FakeTiclSettingsProvider : public TiclSettingsProvider {
28 public: 28 public:
29 FakeTiclSettingsProvider(); 29 FakeTiclSettingsProvider();
30 virtual ~FakeTiclSettingsProvider(); 30 virtual ~FakeTiclSettingsProvider();
31 31
32 // TiclSettingsProvider: 32 // TiclSettingsProvider:
33 virtual bool UseGCMChannel() const OVERRIDE; 33 virtual bool UseGCMChannel() const override;
34 34
35 private: 35 private:
36 DISALLOW_COPY_AND_ASSIGN(FakeTiclSettingsProvider); 36 DISALLOW_COPY_AND_ASSIGN(FakeTiclSettingsProvider);
37 }; 37 };
38 38
39 FakeTiclSettingsProvider::FakeTiclSettingsProvider() { 39 FakeTiclSettingsProvider::FakeTiclSettingsProvider() {
40 } 40 }
41 41
42 FakeTiclSettingsProvider::~FakeTiclSettingsProvider() { 42 FakeTiclSettingsProvider::~FakeTiclSettingsProvider() {
43 } 43 }
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 delegate->InitializeInvalidationService(); 142 delegate->InitializeInvalidationService();
143 143
144 invalidator->RequestDetailedStatus( 144 invalidator->RequestDetailedStatus(
145 base::Bind(&internal::FakeCallbackContainer::FakeCallback, 145 base::Bind(&internal::FakeCallbackContainer::FakeCallback,
146 fake_container.weak_ptr_factory_.GetWeakPtr())); 146 fake_container.weak_ptr_factory_.GetWeakPtr()));
147 EXPECT_TRUE(fake_container.called_); 147 EXPECT_TRUE(fake_container.called_);
148 } 148 }
149 149
150 } // namespace invalidation 150 } // namespace invalidation
OLDNEW
« no previous file with comments | « components/invalidation/ticl_invalidation_service.h ('k') | components/invalidation/unacked_invalidation_set_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698