40 lines
865 B
C++
40 lines
865 B
C++
|
// 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 "browser/special_storage_policy.h"
|
||
|
|
||
|
namespace brightray {
|
||
|
|
||
|
SpecialStoragePolicy::SpecialStoragePolicy() {
|
||
|
}
|
||
|
|
||
|
SpecialStoragePolicy::~SpecialStoragePolicy() {
|
||
|
}
|
||
|
|
||
|
bool SpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
bool SpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
bool SpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
bool SpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
bool SpecialStoragePolicy::HasSessionOnlyOrigins() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
bool SpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
} // namespace brightray
|