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

Side by Side Diff: chrome/browser/extensions/extension_system_impl.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
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_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
7 7
8 #include "extensions/browser/extension_system.h" 8 #include "extensions/browser/extension_system.h"
9 #include "extensions/common/one_shot_event.h" 9 #include "extensions/common/one_shot_event.h"
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 virtual void RegisterExtensionWithRequestContexts( 53 virtual void RegisterExtensionWithRequestContexts(
54 const Extension* extension) OVERRIDE; 54 const Extension* extension) OVERRIDE;
55 55
56 virtual void UnregisterExtensionWithRequestContexts( 56 virtual void UnregisterExtensionWithRequestContexts(
57 const std::string& extension_id, 57 const std::string& extension_id,
58 const UnloadedExtensionInfo::Reason reason) OVERRIDE; 58 const UnloadedExtensionInfo::Reason reason) OVERRIDE;
59 59
60 virtual const OneShotEvent& ready() const OVERRIDE; 60 virtual const OneShotEvent& ready() const OVERRIDE;
61 virtual ContentVerifier* content_verifier() OVERRIDE; // shared 61 virtual ContentVerifier* content_verifier() OVERRIDE; // shared
62 virtual scoped_ptr<ExtensionSet> GetDependentExtensions(
63 const Extension* extension) OVERRIDE;
62 64
63 private: 65 private:
64 friend class ExtensionSystemSharedFactory; 66 friend class ExtensionSystemSharedFactory;
65 67
66 // Owns the Extension-related systems that have a single instance 68 // Owns the Extension-related systems that have a single instance
67 // shared between normal and incognito profiles. 69 // shared between normal and incognito profiles.
68 class Shared : public KeyedService { 70 class Shared : public KeyedService {
69 public: 71 public:
70 explicit Shared(Profile* profile); 72 explicit Shared(Profile* profile);
71 virtual ~Shared(); 73 virtual ~Shared();
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // extension processes and those require access to the ResourceContext owned 147 // extension processes and those require access to the ResourceContext owned
146 // by |io_data_|. 148 // by |io_data_|.
147 scoped_ptr<ProcessManager> process_manager_; 149 scoped_ptr<ProcessManager> process_manager_;
148 150
149 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); 151 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl);
150 }; 152 };
151 153
152 } // namespace extensions 154 } // namespace extensions
153 155
154 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 156 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « apps/shell/browser/shell_extension_system.cc ('k') | chrome/browser/extensions/extension_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698