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

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

Issue 24177003: Fixed crash when chrome.runtime.reload() is called with app windows open (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation failures Created 7 years, 2 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
« no previous file with comments | « chrome/browser/extensions/extension_process_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 bool IsBackgroundPageReady(const extensions::Extension* extension) const; 248 bool IsBackgroundPageReady(const extensions::Extension* extension) const;
249 void SetBackgroundPageReady(const extensions::Extension* extension); 249 void SetBackgroundPageReady(const extensions::Extension* extension);
250 250
251 // Getter and setter for the flag that specifies whether the extension is 251 // Getter and setter for the flag that specifies whether the extension is
252 // being upgraded. 252 // being upgraded.
253 bool IsBeingUpgraded(const extensions::Extension* extension) const; 253 bool IsBeingUpgraded(const extensions::Extension* extension) const;
254 void SetBeingUpgraded(const extensions::Extension* extension, bool value); 254 void SetBeingUpgraded(const extensions::Extension* extension, bool value);
255 255
256 // Getter and setter for the flag that specifies whether the extension is 256 // Getter and setter for the flag that specifies whether the extension is
257 // being reloaded. 257 // being reloaded.
258 bool IsBeingReloaded(const std::string& extension_name) const; 258 bool IsBeingReloaded(const std::string& extension_id) const;
259 void SetBeingReloaded(const std::string& extension_id, bool value); 259 void SetBeingReloaded(const std::string& extension_id, bool value);
260 260
261 // Getter and setter for the flag that specifies if the extension has used 261 // Getter and setter for the flag that specifies if the extension has used
262 // the webrequest API. 262 // the webrequest API.
263 // TODO(mpcomplete): remove. http://crbug.com/100411 263 // TODO(mpcomplete): remove. http://crbug.com/100411
264 bool HasUsedWebRequest(const extensions::Extension* extension) const; 264 bool HasUsedWebRequest(const extensions::Extension* extension) const;
265 void SetHasUsedWebRequest(const extensions::Extension* extension, bool value); 265 void SetHasUsedWebRequest(const extensions::Extension* extension, bool value);
266 266
267 // Initialize and start all installed extensions. 267 // Initialize and start all installed extensions.
268 void Init(); 268 void Init();
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 #endif 962 #endif
963 963
964 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 964 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
965 InstallAppsWithUnlimtedStorage); 965 InstallAppsWithUnlimtedStorage);
966 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 966 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
967 InstallAppsAndCheckStorageProtection); 967 InstallAppsAndCheckStorageProtection);
968 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 968 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
969 }; 969 };
970 970
971 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 971 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_process_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698