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

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

Issue 317993003: Send an onInstalled event for shared module update (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | Annotate | Revision Log
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.cc ('k') | extensions/common/api/runtime.json » ('j') | 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_SYSTEM_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 12 matching lines...) Expand all
23 class BrowserContext; 23 class BrowserContext;
24 } 24 }
25 25
26 namespace extensions { 26 namespace extensions {
27 27
28 class Blacklist; 28 class Blacklist;
29 class ContentVerifier; 29 class ContentVerifier;
30 class ErrorConsole; 30 class ErrorConsole;
31 class EventRouter; 31 class EventRouter;
32 class Extension; 32 class Extension;
33 class ExtensionSet;
33 class ExtensionWarningService; 34 class ExtensionWarningService;
34 class InfoMap; 35 class InfoMap;
35 class InstallVerifier; 36 class InstallVerifier;
36 class LazyBackgroundTaskQueue; 37 class LazyBackgroundTaskQueue;
37 class ManagementPolicy; 38 class ManagementPolicy;
38 class OneShotEvent; 39 class OneShotEvent;
39 class ProcessManager; 40 class ProcessManager;
40 class QuotaService; 41 class QuotaService;
41 class RuntimeData; 42 class RuntimeData;
42 class StateStore; 43 class StateStore;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // EXTENSION_UNLOADED notification have finished running. 122 // EXTENSION_UNLOADED notification have finished running.
122 virtual void UnregisterExtensionWithRequestContexts( 123 virtual void UnregisterExtensionWithRequestContexts(
123 const std::string& extension_id, 124 const std::string& extension_id,
124 const UnloadedExtensionInfo::Reason reason) {} 125 const UnloadedExtensionInfo::Reason reason) {}
125 126
126 // Signaled when the extension system has completed its startup tasks. 127 // Signaled when the extension system has completed its startup tasks.
127 virtual const OneShotEvent& ready() const = 0; 128 virtual const OneShotEvent& ready() const = 0;
128 129
129 // Returns the content verifier, if any. 130 // Returns the content verifier, if any.
130 virtual ContentVerifier* content_verifier() = 0; 131 virtual ContentVerifier* content_verifier() = 0;
132
133 // Get a set of extensions that depend on the given extension.
134 // TODO(elijahtaylor): Move SharedModuleService out of chrome/browser
135 // so it can be retrieved from ExtensionSystem directly.
136 virtual scoped_ptr<ExtensionSet> GetDependentExtensions(
137 const Extension* extension) = 0;
131 }; 138 };
132 139
133 } // namespace extensions 140 } // namespace extensions
134 141
135 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 142 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.cc ('k') | extensions/common/api/runtime.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698