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

Side by Side Diff: content/browser/dom_storage/dom_storage_context_impl.h

Issue 10086018: More 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) 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 CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_IMPL_H_
6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_IMPL_H_ 6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "content/public/browser/dom_storage_context.h" 13 #include "content/public/browser/dom_storage_context.h"
14 #include "webkit/dom_storage/dom_storage_types.h" 14 #include "webkit/dom_storage/dom_storage_types.h"
15 15
16 #ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
17
18 namespace dom_storage { 16 namespace dom_storage {
19 class DomStorageContext; 17 class DomStorageContext;
20 } 18 }
21 19
22 namespace quota { 20 namespace quota {
23 class SpecialStoragePolicy; 21 class SpecialStoragePolicy;
24 } 22 }
25 23
26 // This is owned by BrowserContext (aka Profile) and encapsulates all 24 // This is owned by BrowserContext (aka Profile) and encapsulates all
27 // per-profile dom storage state. 25 // per-profile dom storage state.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 friend class base::RefCountedThreadSafe<DOMStorageContextImpl>; 62 friend class base::RefCountedThreadSafe<DOMStorageContextImpl>;
65 63
66 virtual ~DOMStorageContextImpl(); 64 virtual ~DOMStorageContextImpl();
67 dom_storage::DomStorageContext* context() const { return context_.get(); } 65 dom_storage::DomStorageContext* context() const { return context_.get(); }
68 66
69 scoped_refptr<dom_storage::DomStorageContext> context_; 67 scoped_refptr<dom_storage::DomStorageContext> context_;
70 68
71 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageContextImpl); 69 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageContextImpl);
72 }; 70 };
73 71
74 #endif // ENABLE_NEW_DOM_STORAGE_BACKEND
75 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_IMPL_H_ 72 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/dom_storage/dom_storage_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698