OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/shell/browser/shell_special_storage_policy.h" | 5 #include "extensions/shell/browser/shell_special_storage_policy.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() { | 9 ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() { |
10 } | 10 } |
(...skipping 14 matching lines...) Expand all Loading... |
25 } | 25 } |
26 | 26 |
27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { | 27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { |
28 return true; | 28 return true; |
29 } | 29 } |
30 | 30 |
31 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() { | 31 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() { |
32 return false; | 32 return false; |
33 } | 33 } |
34 | 34 |
35 bool ShellSpecialStoragePolicy::IsFileHandler(const std::string& extension_id) { | |
36 return true; | |
37 } | |
38 | |
39 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { | 35 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { |
40 return false; | 36 return false; |
41 } | 37 } |
42 | 38 |
43 } // namespace extensions | 39 } // namespace extensions |
OLD | NEW |