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

Side by Side Diff: chrome/browser/sync/test/integration/sync_extension_installer.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_SYNC_EXTENSION_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_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 "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 13 matching lines...) Expand all
24 // This is to avoid a potential races between the emitting of notifications and 24 // This is to avoid a potential races between the emitting of notifications and
25 // the instantation of this class. 25 // the instantation of this class.
26 class SyncedExtensionInstaller : public content::NotificationObserver { 26 class SyncedExtensionInstaller : public content::NotificationObserver {
27 public: 27 public:
28 explicit SyncedExtensionInstaller(Profile* profile); 28 explicit SyncedExtensionInstaller(Profile* profile);
29 virtual ~SyncedExtensionInstaller(); 29 virtual ~SyncedExtensionInstaller();
30 30
31 // content::NotificationObserver implementation. 31 // content::NotificationObserver implementation.
32 virtual void Observe(int type, 32 virtual void Observe(int type,
33 const content::NotificationSource& source, 33 const content::NotificationSource& source,
34 const content::NotificationDetails& details) OVERRIDE; 34 const content::NotificationDetails& details) override;
35 35
36 private: 36 private:
37 void DoInstallSyncedExtensions(); 37 void DoInstallSyncedExtensions();
38 38
39 Profile* profile_; 39 Profile* profile_;
40 content::NotificationRegistrar registrar_; 40 content::NotificationRegistrar registrar_;
41 41
42 base::WeakPtrFactory<SyncedExtensionInstaller> weak_ptr_factory_; 42 base::WeakPtrFactory<SyncedExtensionInstaller> weak_ptr_factory_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(SyncedExtensionInstaller); 44 DISALLOW_COPY_AND_ASSIGN(SyncedExtensionInstaller);
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ 47 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698