blob: a5f41200235932d7270b245fd55e32fe49af6e21 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/shell/browser/shell_special_storage_policy.h"
namespace extensions {
ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() {
}
ShellSpecialStoragePolicy::~ShellSpecialStoragePolicy() {
}
bool ShellSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
return true;
}
bool ShellSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
return true;
}
bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
return false;
}
bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
return true;
}
bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() {
return false;
}
bool ShellSpecialStoragePolicy::IsFileHandler(const std::string& extension_id) {
return true;
}
bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
return false;
}
} // namespace extensions