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 "extensions/shell/browser/shell_special_storage_policy.h" 6 7namespace extensions { 8 9ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() { 10} 11 12ShellSpecialStoragePolicy::~ShellSpecialStoragePolicy() { 13} 14 15bool ShellSpecialStoragePolicy::IsStorageProtected(const GURL& origin) { 16 return true; 17} 18 19bool ShellSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) { 20 return true; 21} 22 23bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) { 24 return false; 25} 26 27bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { 28 return true; 29} 30 31bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() { 32 return false; 33} 34 35bool ShellSpecialStoragePolicy::IsFileHandler(const std::string& extension_id) { 36 return true; 37} 38 39bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { 40 return false; 41} 42 43} // namespace extensions 44