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

Side by Side Diff: chrome/browser/extensions/extension_web_ui_override_registrar.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EXTENSIONS_EXTENSION_WEB_UI_OVERRIDE_REGISTRAR_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_OVERRIDE_REGISTRAR_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_OVERRIDE_REGISTRAR_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_OVERRIDE_REGISTRAR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/scoped_observer.h" 9 #include "base/scoped_observer.h"
10 #include "extensions/browser/browser_context_keyed_api_factory.h" 10 #include "extensions/browser/browser_context_keyed_api_factory.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // BrowserContextKeyedAPI implementation. 26 // BrowserContextKeyedAPI implementation.
27 static BrowserContextKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>* 27 static BrowserContextKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>*
28 GetFactoryInstance(); 28 GetFactoryInstance();
29 29
30 private: 30 private:
31 friend class BrowserContextKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>; 31 friend class BrowserContextKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>;
32 32
33 // ExtensionRegistryObserver implementation. 33 // ExtensionRegistryObserver implementation.
34 virtual void OnExtensionLoaded(content::BrowserContext* browser_context, 34 virtual void OnExtensionLoaded(content::BrowserContext* browser_context,
35 const Extension* extension) OVERRIDE; 35 const Extension* extension) override;
36 virtual void OnExtensionUnloaded( 36 virtual void OnExtensionUnloaded(
37 content::BrowserContext* browser_context, 37 content::BrowserContext* browser_context,
38 const Extension* extension, 38 const Extension* extension,
39 UnloadedExtensionInfo::Reason reason) OVERRIDE; 39 UnloadedExtensionInfo::Reason reason) override;
40 40
41 // BrowserContextKeyedAPI implementation. 41 // BrowserContextKeyedAPI implementation.
42 static const char* service_name() { 42 static const char* service_name() {
43 return "ExtensionWebUIOverrideRegistrar"; 43 return "ExtensionWebUIOverrideRegistrar";
44 } 44 }
45 45
46 // Listen to extension load, unloaded notifications. 46 // Listen to extension load, unloaded notifications.
47 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> 47 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
48 extension_registry_observer_; 48 extension_registry_observer_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(ExtensionWebUIOverrideRegistrar); 50 DISALLOW_COPY_AND_ASSIGN(ExtensionWebUIOverrideRegistrar);
51 }; 51 };
52 52
53 } // namespace extensions 53 } // namespace extensions
54 54
55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_OVERRIDE_REGISTRAR_H_ 55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_OVERRIDE_REGISTRAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698