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

Side by Side Diff: extensions/browser/extension_registry_observer.h

Issue 298023009: Remove InstallTracker's extension load, unload observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OnShutdown Created 6 years, 6 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 | « extensions/browser/extension_registry.cc ('k') | no next file » | 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 EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_
7 7
8 #include "extensions/common/extension.h" 8 #include "extensions/common/extension.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 content::BrowserContext* browser_context, 55 content::BrowserContext* browser_context,
56 const Extension* extension, 56 const Extension* extension,
57 bool is_update, 57 bool is_update,
58 bool from_ephemeral, 58 bool from_ephemeral,
59 const std::string& old_name) {} 59 const std::string& old_name) {}
60 60
61 // Called after an extension is uninstalled. The extension no longer exsit in 61 // Called after an extension is uninstalled. The extension no longer exsit in
62 // any of the ExtensionRegistry sets (enabled, disabled, etc.). 62 // any of the ExtensionRegistry sets (enabled, disabled, etc.).
63 virtual void OnExtensionUninstalled(content::BrowserContext* browser_context, 63 virtual void OnExtensionUninstalled(content::BrowserContext* browser_context,
64 const Extension* extension) {} 64 const Extension* extension) {}
65
66 // Notifies observers that the observed object is going away.
67 virtual void OnShutdown() {}
not at google - send to devlin 2014/06/03 19:06:35 OnShutdown should take an ExtensionRegistry virtu
not at google - send to devlin 2014/06/03 19:08:03 (but drop the "const")
65 }; 68 };
66 69
67 } // namespace extensions 70 } // namespace extensions
68 71
69 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_ 72 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698