diff options
Diffstat (limited to 'chrome/common/dom_storage_common.h')
-rw-r--r-- | chrome/common/dom_storage_common.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/common/dom_storage_common.h b/chrome/common/dom_storage_common.h new file mode 100644 index 0000000..96fc508 --- /dev/null +++ b/chrome/common/dom_storage_common.h @@ -0,0 +1,16 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this +// source code is governed by a BSD-style license that can be found in the +// LICENSE file. + +#ifndef CHROME_COMMON_DOM_STORAGE_COMMON_H_ +#define CHROME_COMMON_DOM_STORAGE_COMMON_H_ + +const int64 kLocalStorageNamespaceId = 0; +const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId; + +enum DOMStorageType { + DOM_STORAGE_LOCAL = 0, + DOM_STORAGE_SESSION +}; + +#endif // CHROME_COMMON_DOM_STORAGE_COMMON_H_ |