OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 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 | |
5 #ifndef CONTENT_COMMON_DOM_STORAGE_COMMON_H_ | |
6 #define CONTENT_COMMON_DOM_STORAGE_COMMON_H_ | |
7 #pragma once | |
8 | |
9 #include "build/build_config.h" | |
10 | |
11 #include "base/basictypes.h" | |
12 #include "webkit/dom_storage/dom_storage_types.h" | |
13 | |
14 #ifdef ENABLE_NEW_DOM_STORAGE_BACKEND | |
15 // TODO(michaeln): delete this file | |
16 #else | |
17 const int64 kLocalStorageNamespaceId = 0; | |
18 const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId; | |
19 | |
20 enum DOMStorageType { | |
21 DOM_STORAGE_LOCAL = 0, | |
22 DOM_STORAGE_SESSION | |
23 }; | |
24 #endif // ENABLE_NEW_DOM_STORAGE_BACKEND | |
25 #endif // CONTENT_COMMON_DOM_STORAGE_COMMON_H_ | |
OLD | NEW |