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

Side by Side Diff: webkit/dom_storage/dom_storage_namespace.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 #include "webkit/dom_storage/dom_storage_namespace.h" 5 #include "webkit/dom_storage/dom_storage_namespace.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "webkit/dom_storage/dom_storage_area.h" 11 #include "webkit/dom_storage/dom_storage_area.h"
12 #include "webkit/dom_storage/dom_storage_task_runner.h" 12 #include "webkit/dom_storage/dom_storage_task_runner.h"
13 #include "webkit/dom_storage/dom_storage_types.h" 13 #include "webkit/dom_storage/dom_storage_types.h"
14 #include "webkit/dom_storage/session_storage_database.h" 14 #include "webkit/dom_storage/session_storage_database.h"
15 15
16 namespace dom_storage { 16 namespace dom_storage {
17 17
18 DomStorageNamespace::DomStorageNamespace( 18 DomStorageNamespace::DomStorageNamespace(
19 const FilePath& directory, 19 const base::FilePath& directory,
20 DomStorageTaskRunner* task_runner) 20 DomStorageTaskRunner* task_runner)
21 : namespace_id_(kLocalStorageNamespaceId), 21 : namespace_id_(kLocalStorageNamespaceId),
22 directory_(directory), 22 directory_(directory),
23 task_runner_(task_runner) { 23 task_runner_(task_runner) {
24 } 24 }
25 25
26 DomStorageNamespace::DomStorageNamespace( 26 DomStorageNamespace::DomStorageNamespace(
27 int64 namespace_id, 27 int64 namespace_id,
28 const std::string& persistent_namespace_id, 28 const std::string& persistent_namespace_id,
29 SessionStorageDatabase* session_storage_database, 29 SessionStorageDatabase* session_storage_database,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 DomStorageNamespace::AreaHolder::AreaHolder( 166 DomStorageNamespace::AreaHolder::AreaHolder(
167 DomStorageArea* area, int count) 167 DomStorageArea* area, int count)
168 : area_(area), open_count_(count) { 168 : area_(area), open_count_(count) {
169 } 169 }
170 170
171 DomStorageNamespace::AreaHolder::~AreaHolder() { 171 DomStorageNamespace::AreaHolder::~AreaHolder() {
172 } 172 }
173 173
174 } // namespace dom_storage 174 } // namespace dom_storage
OLDNEW
« no previous file with comments | « webkit/dom_storage/dom_storage_namespace.h ('k') | webkit/dom_storage/local_storage_database_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698