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

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: Delimiter + restart test 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 <set> 10 #include <set>
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // TODO(yoz): remove InitEventRoutersAterImport. 285 // TODO(yoz): remove InitEventRoutersAterImport.
286 void InitEventRoutersAfterImport(); 286 void InitEventRoutersAfterImport();
287 void RegisterForImportFinished(); 287 void RegisterForImportFinished();
288 288
289 // Complete some initialization after being notified that import has finished. 289 // Complete some initialization after being notified that import has finished.
290 void InitAfterImport(); 290 void InitAfterImport();
291 291
292 // Start up the extension event routers. 292 // Start up the extension event routers.
293 void InitEventRouters(); 293 void InitEventRouters();
294 294
295 // Called when the associated Profile is going to be destroyed.
296 void Shutdown();
297
295 // Look up an extension by ID. Does not include terminated 298 // Look up an extension by ID. Does not include terminated
296 // extensions. 299 // extensions.
297 virtual const extensions::Extension* GetExtensionById( 300 virtual const extensions::Extension* GetExtensionById(
298 const std::string& id, bool include_disabled) const OVERRIDE; 301 const std::string& id, bool include_disabled) const OVERRIDE;
299 302
300 // Looks up a terminated (crashed) extension by ID. 303 // Looks up a terminated (crashed) extension by ID.
301 const extensions::Extension* 304 const extensions::Extension*
302 GetTerminatedExtension(const std::string& id) const; 305 GetTerminatedExtension(const std::string& id) const;
303 306
304 // Looks up an extension by ID, regardless of whether it's enabled, 307 // Looks up an extension by ID, regardless of whether it's enabled,
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 #endif 871 #endif
869 872
870 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 873 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
871 InstallAppsWithUnlimtedStorage); 874 InstallAppsWithUnlimtedStorage);
872 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 875 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
873 InstallAppsAndCheckStorageProtection); 876 InstallAppsAndCheckStorageProtection);
874 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 877 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
875 }; 878 };
876 879
877 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 880 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698