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

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: Fixed thumbnail url generation, added a test 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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 UnloadedExtensionPathMap unloaded_extension_paths_; 926 UnloadedExtensionPathMap unloaded_extension_paths_;
927 927
928 // Map disabled extensions' ids to their paths. When a temporarily loaded 928 // Map disabled extensions' ids to their paths. When a temporarily loaded
929 // extension is disabled before it is reloaded, keep track of the path so that 929 // extension is disabled before it is reloaded, keep track of the path so that
930 // it can be re-enabled upon a successful load. 930 // it can be re-enabled upon a successful load.
931 typedef std::map<std::string, base::FilePath> DisabledExtensionPathMap; 931 typedef std::map<std::string, base::FilePath> DisabledExtensionPathMap;
932 DisabledExtensionPathMap disabled_extension_paths_; 932 DisabledExtensionPathMap disabled_extension_paths_;
933 933
934 // Map of inspector cookies that are detached, waiting for an extension to be 934 // Map of inspector cookies that are detached, waiting for an extension to be
935 // reloaded. 935 // reloaded.
936 typedef std::map<std::string, int> OrphanedDevTools; 936 typedef std::map<std::string, std::string> OrphanedDevTools;
937 OrphanedDevTools orphaned_dev_tools_; 937 OrphanedDevTools orphaned_dev_tools_;
938 938
939 // Maps extension ids to a bitmask that indicates which events should be 939 // Maps extension ids to a bitmask that indicates which events should be
940 // dispatched to the extension when it is loaded. 940 // dispatched to the extension when it is loaded.
941 std::map<std::string, int> on_load_events_; 941 std::map<std::string, int> on_load_events_;
942 942
943 content::NotificationRegistrar registrar_; 943 content::NotificationRegistrar registrar_;
944 PrefChangeRegistrar pref_change_registrar_; 944 PrefChangeRegistrar pref_change_registrar_;
945 945
946 // Keeps track of loading and unloading component extensions. 946 // Keeps track of loading and unloading component extensions.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 #endif 1007 #endif
1008 1008
1009 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 1009 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
1010 InstallAppsWithUnlimtedStorage); 1010 InstallAppsWithUnlimtedStorage);
1011 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 1011 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
1012 InstallAppsAndCheckStorageProtection); 1012 InstallAppsAndCheckStorageProtection);
1013 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 1013 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
1014 }; 1014 };
1015 1015
1016 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 1016 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698