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

Side by Side Diff: chrome/browser/sync/test/integration/p2p_invalidation_forwarder.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_P2P_INVALIDATION_FORWARDER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_P2P_INVALIDATION_FORWARDER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_P2P_INVALIDATION_FORWARDER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_P2P_INVALIDATION_FORWARDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/sync/profile_sync_service_observer.h" 10 #include "chrome/browser/sync/profile_sync_service_observer.h"
(...skipping 12 matching lines...) Expand all
23 // It register and unregisters in its constructor and destructor. This is 23 // It register and unregisters in its constructor and destructor. This is
24 // intended to make it easy to manage with a scoped_ptr. 24 // intended to make it easy to manage with a scoped_ptr.
25 class P2PInvalidationForwarder : public ProfileSyncServiceObserver { 25 class P2PInvalidationForwarder : public ProfileSyncServiceObserver {
26 public: 26 public:
27 P2PInvalidationForwarder( 27 P2PInvalidationForwarder(
28 ProfileSyncService* sync_service, 28 ProfileSyncService* sync_service,
29 invalidation::P2PInvalidationService* invalidation_service); 29 invalidation::P2PInvalidationService* invalidation_service);
30 virtual ~P2PInvalidationForwarder(); 30 virtual ~P2PInvalidationForwarder();
31 31
32 // Implementation of ProfileSyncServiceObserver 32 // Implementation of ProfileSyncServiceObserver
33 virtual void OnStateChanged() OVERRIDE; 33 virtual void OnStateChanged() override;
34 virtual void OnSyncCycleCompleted() OVERRIDE; 34 virtual void OnSyncCycleCompleted() override;
35 35
36 private: 36 private:
37 ProfileSyncService* sync_service_; 37 ProfileSyncService* sync_service_;
38 invalidation::P2PInvalidationService* invalidation_service_; 38 invalidation::P2PInvalidationService* invalidation_service_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationForwarder); 40 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationForwarder);
41 }; 41 };
42 42
43 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_P2P_INVALIDATION_FORWARDER_H_ 43 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_P2P_INVALIDATION_FORWARDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698