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

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

Issue 10826156: Plumb invalidations from Tango to the extensions code for the Push Messaging API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android build Created 8 years, 4 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_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 <string> 10 #include <string>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // TODO(yoz): remove InitEventRoutersAterImport. 279 // TODO(yoz): remove InitEventRoutersAterImport.
280 void InitEventRoutersAfterImport(); 280 void InitEventRoutersAfterImport();
281 void RegisterForImportFinished(); 281 void RegisterForImportFinished();
282 282
283 // Complete some initialization after being notified that import has finished. 283 // Complete some initialization after being notified that import has finished.
284 void InitAfterImport(); 284 void InitAfterImport();
285 285
286 // Start up the extension event routers. 286 // Start up the extension event routers.
287 void InitEventRouters(); 287 void InitEventRouters();
288 288
289 // Called when the associated Profile is going to be destroyed.
290 void Shutdown();
291
289 // Look up an extension by ID. Does not include terminated 292 // Look up an extension by ID. Does not include terminated
290 // extensions. 293 // extensions.
291 virtual const extensions::Extension* GetExtensionById( 294 virtual const extensions::Extension* GetExtensionById(
292 const std::string& id, bool include_disabled) const OVERRIDE; 295 const std::string& id, bool include_disabled) const OVERRIDE;
293 296
294 // Looks up a terminated (crashed) extension by ID. 297 // Looks up a terminated (crashed) extension by ID.
295 const extensions::Extension* 298 const extensions::Extension*
296 GetTerminatedExtension(const std::string& id) const; 299 GetTerminatedExtension(const std::string& id) const;
297 300
298 // Looks up an extension by ID, regardless of whether it's enabled, 301 // Looks up an extension by ID, regardless of whether it's enabled,
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 #endif 864 #endif
862 865
863 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 866 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
864 InstallAppsWithUnlimtedStorage); 867 InstallAppsWithUnlimtedStorage);
865 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 868 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
866 InstallAppsAndCheckStorageProtection); 869 InstallAppsAndCheckStorageProtection);
867 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 870 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
868 }; 871 };
869 872
870 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 873 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698