OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SPECIAL_STORAGE_POLICY_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SPECIAL_STORAGE_POLICY_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SPECIAL_STORAGE_POLICY_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SPECIAL_STORAGE_POLICY_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "chrome/browser/extensions/extension_special_storage_policy.h" | 11 #include "chrome/browser/extensions/extension_special_storage_policy.h" |
13 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
14 | 13 |
15 // This class is the same as MockSpecialStoragePolicy (in | 14 // This class is the same as MockSpecialStoragePolicy (in |
16 // webkit/quota/mock_special_storage_policy.h), but it inherits | 15 // webkit/quota/mock_special_storage_policy.h), but it inherits |
17 // ExtensionSpecialStoragePolicy instead of quota::SpecialStoragePolicy. | 16 // ExtensionSpecialStoragePolicy instead of quota::SpecialStoragePolicy. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 53 |
55 std::set<GURL> protected_; | 54 std::set<GURL> protected_; |
56 std::set<GURL> unlimited_; | 55 std::set<GURL> unlimited_; |
57 std::set<GURL> session_only_; | 56 std::set<GURL> session_only_; |
58 std::set<std::string> file_handlers_; | 57 std::set<std::string> file_handlers_; |
59 | 58 |
60 DISALLOW_COPY_AND_ASSIGN(MockExtensionSpecialStoragePolicy); | 59 DISALLOW_COPY_AND_ASSIGN(MockExtensionSpecialStoragePolicy); |
61 }; | 60 }; |
62 | 61 |
63 #endif // CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SPECIAL_STORAGE_POLICY_H_ | 62 #endif // CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SPECIAL_STORAGE_POLICY_H_ |
OLD | NEW |