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

Side by Side Diff: webkit/browser/dom_storage/local_storage_database_adapter.cc

Issue 15990007: Move dom_storage to new locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 #include "webkit/dom_storage/local_storage_database_adapter.h" 5 #include "webkit/browser/dom_storage/local_storage_database_adapter.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "webkit/dom_storage/dom_storage_database.h" 8 #include "webkit/browser/dom_storage/dom_storage_database.h"
9 9
10 namespace dom_storage { 10 namespace dom_storage {
11 11
12 LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter( 12 LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter(
13 const base::FilePath& path) 13 const base::FilePath& path)
14 : db_(new DomStorageDatabase(path)) { 14 : db_(new DomStorageDatabase(path)) {
15 } 15 }
16 16
17 LocalStorageDatabaseAdapter::~LocalStorageDatabaseAdapter() { } 17 LocalStorageDatabaseAdapter::~LocalStorageDatabaseAdapter() { }
18 18
(...skipping 14 matching lines...) Expand all
33 33
34 void LocalStorageDatabaseAdapter::Reset() { 34 void LocalStorageDatabaseAdapter::Reset() {
35 db_.reset(new DomStorageDatabase(db_->file_path())); 35 db_.reset(new DomStorageDatabase(db_->file_path()));
36 } 36 }
37 37
38 LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter() 38 LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter()
39 : db_(new DomStorageDatabase()) { 39 : db_(new DomStorageDatabase()) {
40 } 40 }
41 41
42 } // namespace dom_storage 42 } // namespace dom_storage
OLDNEW
« no previous file with comments | « webkit/browser/dom_storage/local_storage_database_adapter.h ('k') | webkit/browser/dom_storage/session_storage_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698