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

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

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 (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_COMPONENT_LOADER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void AddChromeApp(); 128 void AddChromeApp();
129 129
130 // Unloads |component| from the memory. 130 // Unloads |component| from the memory.
131 void UnloadComponent(ComponentExtensionInfo* component); 131 void UnloadComponent(ComponentExtensionInfo* component);
132 132
133 PrefServiceBase* profile_prefs_; 133 PrefServiceBase* profile_prefs_;
134 PrefServiceBase* local_state_; 134 PrefServiceBase* local_state_;
135 135
136 ExtensionServiceInterface* extension_service_; 136 ExtensionServiceInterface* extension_service_;
137 137
138 // List of registered component extensions (see Extension::Location). 138 // List of registered component extensions (see Manifest::Location).
139 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; 139 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions;
140 RegisteredComponentExtensions component_extensions_; 140 RegisteredComponentExtensions component_extensions_;
141 141
142 PrefChangeRegistrar pref_change_registrar_; 142 PrefChangeRegistrar pref_change_registrar_;
143 143
144 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); 144 DISALLOW_COPY_AND_ASSIGN(ComponentLoader);
145 }; 145 };
146 146
147 } // namespace extensions 147 } // namespace extensions
148 148
149 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 149 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/bundle_installer.cc ('k') | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698