special_storage_policy.cc 873 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #include "brightray/browser/special_storage_policy.h"
  5. namespace brightray {
  6. SpecialStoragePolicy::SpecialStoragePolicy() {}
  7. SpecialStoragePolicy::~SpecialStoragePolicy() {}
  8. bool SpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
  9. return true;
  10. }
  11. bool SpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
  12. return true;
  13. }
  14. bool SpecialStoragePolicy::IsStorageDurable(const GURL& origin) {
  15. return true;
  16. }
  17. bool SpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
  18. return false;
  19. }
  20. bool SpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
  21. return false;
  22. }
  23. bool SpecialStoragePolicy::HasSessionOnlyOrigins() {
  24. return false;
  25. }
  26. } // namespace brightray