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

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

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « apps/shell/browser/shell_special_storage_policy.h ('k') | apps/shell/common/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "apps/shell/browser/shell_special_storage_policy.h"
6
7 namespace apps {
8
9 ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() {
10 }
11
12 ShellSpecialStoragePolicy::~ShellSpecialStoragePolicy() {
13 }
14
15 bool ShellSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
16 return true;
17 }
18
19 bool ShellSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
20 return true;
21 }
22
23 bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
24 return false;
25 }
26
27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
28 return true;
29 }
30
31 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() {
32 return false;
33 }
34
35 bool ShellSpecialStoragePolicy::IsFileHandler(const std::string& extension_id) {
36 return true;
37 }
38
39 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
40 return false;
41 }
42
43 } // namespace apps
OLDNEW
« no previous file with comments | « apps/shell/browser/shell_special_storage_policy.h ('k') | apps/shell/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698