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

Side by Side Diff: webkit/browser/dom_storage/dom_storage_namespace.h

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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) 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_NAMESPACE_H_ 5 #ifndef WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_
6 #define WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ 6 #define WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "webkit/storage/webkit_storage_export.h" 13 #include "webkit/browser/webkit_storage_browser_export.h"
14 14
15 class GURL; 15 class GURL;
16 16
17 namespace dom_storage { 17 namespace dom_storage {
18 18
19 class DomStorageArea; 19 class DomStorageArea;
20 class DomStorageTaskRunner; 20 class DomStorageTaskRunner;
21 class SessionStorageDatabase; 21 class SessionStorageDatabase;
22 22
23 // Container for the set of per-origin Areas. 23 // Container for the set of per-origin Areas.
24 // See class comments for DomStorageContext for a larger overview. 24 // See class comments for DomStorageContext for a larger overview.
25 class WEBKIT_STORAGE_EXPORT DomStorageNamespace 25 class WEBKIT_STORAGE_BROWSER_EXPORT DomStorageNamespace
26 : public base::RefCountedThreadSafe<DomStorageNamespace> { 26 : public base::RefCountedThreadSafe<DomStorageNamespace> {
27 public: 27 public:
28 // Option for PurgeMemory. 28 // Option for PurgeMemory.
29 enum PurgeOption { 29 enum PurgeOption {
30 // Purge unopened areas only. 30 // Purge unopened areas only.
31 PURGE_UNOPENED, 31 PURGE_UNOPENED,
32 32
33 // Purge aggressively, i.e. discard cache even for areas that have 33 // Purge aggressively, i.e. discard cache even for areas that have
34 // non-zero open count. 34 // non-zero open count.
35 PURGE_AGGRESSIVE, 35 PURGE_AGGRESSIVE,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 base::FilePath directory_; 98 base::FilePath directory_;
99 AreaMap areas_; 99 AreaMap areas_;
100 scoped_refptr<DomStorageTaskRunner> task_runner_; 100 scoped_refptr<DomStorageTaskRunner> task_runner_;
101 scoped_refptr<SessionStorageDatabase> session_storage_database_; 101 scoped_refptr<SessionStorageDatabase> session_storage_database_;
102 }; 102 };
103 103
104 } // namespace dom_storage 104 } // namespace dom_storage
105 105
106 106
107 #endif // WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ 107 #endif // WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_
OLDNEW
« no previous file with comments | « webkit/browser/dom_storage/dom_storage_host.h ('k') | webkit/browser/dom_storage/dom_storage_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698