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

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

Issue 12319114: Extract debugger target enumeration into a separate class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@debugger
Patch Set: Rebase Created 7 years, 9 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
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 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 UnloadedExtensionPathMap unloaded_extension_paths_; 905 UnloadedExtensionPathMap unloaded_extension_paths_;
906 906
907 // Map disabled extensions' ids to their paths. When a temporarily loaded 907 // Map disabled extensions' ids to their paths. When a temporarily loaded
908 // extension is disabled before it is reloaded, keep track of the path so that 908 // extension is disabled before it is reloaded, keep track of the path so that
909 // it can be re-enabled upon a successful load. 909 // it can be re-enabled upon a successful load.
910 typedef std::map<std::string, base::FilePath> DisabledExtensionPathMap; 910 typedef std::map<std::string, base::FilePath> DisabledExtensionPathMap;
911 DisabledExtensionPathMap disabled_extension_paths_; 911 DisabledExtensionPathMap disabled_extension_paths_;
912 912
913 // Map of inspector cookies that are detached, waiting for an extension to be 913 // Map of inspector cookies that are detached, waiting for an extension to be
914 // reloaded. 914 // reloaded.
915 typedef std::map<std::string, int> OrphanedDevTools; 915 typedef std::map<std::string, std::string> OrphanedDevTools;
916 OrphanedDevTools orphaned_dev_tools_; 916 OrphanedDevTools orphaned_dev_tools_;
917 917
918 // Maps extension ids to a bitmask that indicates which events should be 918 // Maps extension ids to a bitmask that indicates which events should be
919 // dispatched to the extension when it is loaded. 919 // dispatched to the extension when it is loaded.
920 std::map<std::string, int> on_load_events_; 920 std::map<std::string, int> on_load_events_;
921 921
922 content::NotificationRegistrar registrar_; 922 content::NotificationRegistrar registrar_;
923 PrefChangeRegistrar pref_change_registrar_; 923 PrefChangeRegistrar pref_change_registrar_;
924 924
925 // Keeps track of loading and unloading component extensions. 925 // Keeps track of loading and unloading component extensions.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 #endif 981 #endif
982 982
983 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 983 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
984 InstallAppsWithUnlimtedStorage); 984 InstallAppsWithUnlimtedStorage);
985 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 985 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
986 InstallAppsAndCheckStorageProtection); 986 InstallAppsAndCheckStorageProtection);
987 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 987 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
988 }; 988 };
989 989
990 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 990 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_sanity_browsertest.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698