| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_DOM_STORAGE_COMMON_H_ | 5 #ifndef CHROME_COMMON_DOM_STORAGE_COMMON_H_ |
| 6 #define CHROME_COMMON_DOM_STORAGE_COMMON_H_ | 6 #define CHROME_COMMON_DOM_STORAGE_COMMON_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 const int64 kLocalStorageNamespaceId = 0; | 9 const int64 kLocalStorageNamespaceId = 0; |
| 10 const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId; | 10 const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId; |
| 11 | 11 |
| 12 enum DOMStorageType { | 12 enum DOMStorageType { |
| 13 DOM_STORAGE_LOCAL = 0, | 13 DOM_STORAGE_LOCAL = 0, |
| 14 DOM_STORAGE_SESSION | 14 DOM_STORAGE_SESSION |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 #endif // CHROME_COMMON_DOM_STORAGE_COMMON_H_ | 17 #endif // CHROME_COMMON_DOM_STORAGE_COMMON_H_ |
| OLD | NEW |