| 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 WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_H_ | 5 #ifndef WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_H_ |
| 6 #define WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_H_ | 6 #define WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/atomic_sequence_num.h" | 12 #include "base/atomic_sequence_num.h" |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "googleurl/src/gurl.h" | 19 #include "url/gurl.h" |
| 20 #include "webkit/browser/webkit_storage_browser_export.h" | 20 #include "webkit/browser/webkit_storage_browser_export.h" |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class FilePath; | 23 class FilePath; |
| 24 class NullableString16; | 24 class NullableString16; |
| 25 class Time; | 25 class Time; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace quota { | 28 namespace quota { |
| 29 class SpecialStoragePolicy; | 29 class SpecialStoragePolicy; |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 std::set<std::string> protected_persistent_session_ids_; | 222 std::set<std::string> protected_persistent_session_ids_; |
| 223 | 223 |
| 224 // Mapping between persistent namespace IDs and namespace IDs for | 224 // Mapping between persistent namespace IDs and namespace IDs for |
| 225 // sessionStorage. | 225 // sessionStorage. |
| 226 std::map<std::string, int64> persistent_namespace_id_to_namespace_id_; | 226 std::map<std::string, int64> persistent_namespace_id_to_namespace_id_; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 } // namespace dom_storage | 229 } // namespace dom_storage |
| 230 | 230 |
| 231 #endif // WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_H_ | 231 #endif // WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_H_ |
| OLD | NEW |