Remove ExtensionPrefs::SetDidExtensionEscalatePermissions.
[chromium-blink-merge.git] / extensions / shell / browser / shell_special_storage_policy.cc
blob5ed1b50f4253725f8601048e12593438d3039d01
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.
5 #include "extensions/shell/browser/shell_special_storage_policy.h"
7 namespace extensions {
9 ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() {
12 ShellSpecialStoragePolicy::~ShellSpecialStoragePolicy() {
15 bool ShellSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
16 return true;
19 bool ShellSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
20 return true;
23 bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
24 return false;
27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
28 return true;
31 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() {
32 return false;
35 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
36 return false;
39 } // namespace extensions