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

Side by Side Diff: content/browser/indexed_db/webidbfactory_impl.cc

Issue 16189015: [OBSOLETE] Slogging webkit_base out of existence. (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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/browser/indexed_db/webidbfactory_impl.h" 5 #include "content/browser/indexed_db/webidbfactory_impl.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h" 8 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h"
9 #include "content/browser/indexed_db/indexed_db_factory.h" 9 #include "content/browser/indexed_db/indexed_db_factory.h"
10 #include "content/browser/indexed_db/indexed_db_factory.h" 10 #include "content/browser/indexed_db/indexed_db_factory.h"
11 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" 11 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
12 #include "webkit/base/file_path_string_conversions.h" 12 #include "webkit/common/base/file_path_string_conversions.h"
13 13
14 using WebKit::WebString; 14 using WebKit::WebString;
15 15
16 namespace content { 16 namespace content {
17 17
18 WebIDBFactoryImpl::WebIDBFactoryImpl() 18 WebIDBFactoryImpl::WebIDBFactoryImpl()
19 : idb_factory_backend_(IndexedDBFactory::Create()) {} 19 : idb_factory_backend_(IndexedDBFactory::Create()) {}
20 20
21 WebIDBFactoryImpl::~WebIDBFactoryImpl() {} 21 WebIDBFactoryImpl::~WebIDBFactoryImpl() {}
22 22
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const WebString& database_identifier, 56 const WebString& database_identifier,
57 const WebString& data_dir) { 57 const WebString& data_dir) {
58 idb_factory_backend_->DeleteDatabase( 58 idb_factory_backend_->DeleteDatabase(
59 name, 59 name,
60 IndexedDBCallbacksWrapper::Create(callbacks), 60 IndexedDBCallbacksWrapper::Create(callbacks),
61 database_identifier, 61 database_identifier,
62 webkit_base::WebStringToFilePath(data_dir)); 62 webkit_base::WebStringToFilePath(data_dir));
63 } 63 }
64 64
65 } // namespace WebKit 65 } // namespace WebKit
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_unittest.cc ('k') | content/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698