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

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

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 years, 10 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 | « 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
37 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() { 33 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() {
38 return false; 34 return false;
39 } 35 }
40 36
41 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { 37 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
42 return false; 38 return false;
43 } 39 }
44 40
45 } // namespace extensions 41 } // 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