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

Unified Diff: chrome/browser/extensions/extension_special_storage_policy.cc

Issue 1030133002: Move the check for fileBrowserHandler permission to FileBrowserHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test for OS != OS_CHROMEOS. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_special_storage_policy.cc
diff --git a/chrome/browser/extensions/extension_special_storage_policy.cc b/chrome/browser/extensions/extension_special_storage_policy.cc
index 06c5dc2127e946d8428f25a335ae014706f6fa43..102d11bb3cb522a58bdb772fab8b8e84388760c5 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.cc
+++ b/chrome/browser/extensions/extension_special_storage_policy.cc
@@ -129,12 +129,6 @@ bool ExtensionSpecialStoragePolicy::HasSessionOnlyOrigins() {
return false;
}
-bool ExtensionSpecialStoragePolicy::IsFileHandler(
- const std::string& extension_id) {
- base::AutoLock locker(lock_);
- return file_handler_extensions_.ContainsExtension(extension_id);
-}
-
bool ExtensionSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
base::AutoLock locker(lock_);
return isolated_extensions_.Contains(origin);

Powered by Google App Engine
This is Rietveld 408576698