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

Side by Side Diff: extensions/shell/browser/shell_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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "extensions/shell/browser/shell_special_storage_policy.h" 5 #include "extensions/shell/browser/shell_special_storage_policy.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() { 9 ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() {
10 } 10 }
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 26
27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { 27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
28 return true; 28 return true;
29 } 29 }
30 30
31 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() { 31 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() {
32 return false; 32 return false;
33 } 33 }
34 34
35 bool ShellSpecialStoragePolicy::IsFileHandler(const std::string& extension_id) {
36 return true;
37 }
38
39 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { 35 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
40 return false; 36 return false;
41 } 37 }
42 38
43 } // namespace extensions 39 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_special_storage_policy.h ('k') | storage/browser/quota/special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698