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

Side by Side Diff: extensions/shell/browser/shell_special_storage_policy.cc

Issue 2592793002: Revert of Change how the quota system computes the total poolsize for temporary storage (Closed)
Patch Set: Created 4 years 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 | « extensions/shell/browser/shell_special_storage_policy.h ('k') | headless/lib/browser/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12 matching lines...) Expand all
23 bool ShellSpecialStoragePolicy::IsStorageDurable(const GURL& origin) { 23 bool ShellSpecialStoragePolicy::IsStorageDurable(const GURL& origin) {
24 // The plan is to forbid extensions from acquiring the durable storage 24 // The plan is to forbid extensions from acquiring the durable storage
25 // permission because they can specify 'unlimitedStorage' in the manifest. 25 // permission because they can specify 'unlimitedStorage' in the manifest.
26 return false; 26 return false;
27 } 27 }
28 28
29 bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) { 29 bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
30 return false; 30 return false;
31 } 31 }
32 32
33 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
34 return true;
35 }
36
33 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() { 37 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() {
34 return false; 38 return false;
35 } 39 }
36 40
37 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { 41 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
38 return false; 42 return false;
39 } 43 }
40 44
41 } // namespace extensions 45 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_special_storage_policy.h ('k') | headless/lib/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698