Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: content/common/dom_storage_common.h

Issue 10005049: DomStorage house cleaning (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 CONTENT_COMMON_DOM_STORAGE_COMMON_H_ 5 #ifndef CONTENT_COMMON_DOM_STORAGE_COMMON_H_
6 #define CONTENT_COMMON_DOM_STORAGE_COMMON_H_ 6 #define CONTENT_COMMON_DOM_STORAGE_COMMON_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "webkit/dom_storage/dom_storage_types.h"
12 13
14 #ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
15 // TODO(michaeln): delete this file
16 #else
13 const int64 kLocalStorageNamespaceId = 0; 17 const int64 kLocalStorageNamespaceId = 0;
14 const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId; 18 const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId;
15 19
16 enum DOMStorageType { 20 enum DOMStorageType {
17 DOM_STORAGE_LOCAL = 0, 21 DOM_STORAGE_LOCAL = 0,
18 DOM_STORAGE_SESSION 22 DOM_STORAGE_SESSION
19 }; 23 };
20 24 #endif // ENABLE_NEW_DOM_STORAGE_BACKEND
21 #endif // CONTENT_COMMON_DOM_STORAGE_COMMON_H_ 25 #endif // CONTENT_COMMON_DOM_STORAGE_COMMON_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/interstitial_page_impl.cc ('k') | content/common/dom_storage_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698