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

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

Issue 11369055: Delayed adding BluetoothEventRouter as BluetoothAdapter observer until when the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed BluetoothApiTest. Created 8 years, 1 month 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_EXTENSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 const ExtensionSet* terminated_extensions() const; 204 const ExtensionSet* terminated_extensions() const;
205 205
206 // Returns a set of all installed, disabled, and terminated extensions and 206 // Returns a set of all installed, disabled, and terminated extensions and
207 // transfers ownership to caller. 207 // transfers ownership to caller.
208 const ExtensionSet* GenerateInstalledExtensionsSet() const; 208 const ExtensionSet* GenerateInstalledExtensionsSet() const;
209 209
210 // Returns a set of all extensions disabled by the sideload wipeout 210 // Returns a set of all extensions disabled by the sideload wipeout
211 // initiative. 211 // initiative.
212 const ExtensionSet* GetWipedOutExtensions() const; 212 const ExtensionSet* GetWipedOutExtensions() const;
213 213
214 // Notifies the extension event routers that are interested in knowing when
215 // the event listeners are added.
216 void NotifyExtensionEventRouters(const std::string& event_name);
217
214 // Gets the object managing the set of pending extensions. 218 // Gets the object managing the set of pending extensions.
215 virtual extensions::PendingExtensionManager* 219 virtual extensions::PendingExtensionManager*
216 pending_extension_manager() OVERRIDE; 220 pending_extension_manager() OVERRIDE;
217 221
218 const FilePath& install_directory() const { return install_directory_; } 222 const FilePath& install_directory() const { return install_directory_; }
219 223
220 extensions::ProcessMap* process_map() { return &process_map_; } 224 extensions::ProcessMap* process_map() { return &process_map_; }
221 225
222 // Whether this extension can run in an incognito window. 226 // Whether this extension can run in an incognito window.
223 virtual bool IsIncognitoEnabled(const std::string& extension_id) const; 227 virtual bool IsIncognitoEnabled(const std::string& extension_id) const;
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 #endif 955 #endif
952 956
953 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 957 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
954 InstallAppsWithUnlimtedStorage); 958 InstallAppsWithUnlimtedStorage);
955 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 959 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
956 InstallAppsAndCheckStorageProtection); 960 InstallAppsAndCheckStorageProtection);
957 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 961 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
958 }; 962 };
959 963
960 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 964 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/event_router.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698