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

Unified Diff: content/child/indexed_db/webidbfactory_impl.cc

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/indexed_db/webidbfactory_impl.h ('k') | content/common/content_message_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbfactory_impl.cc
diff --git a/content/child/indexed_db/webidbfactory_impl.cc b/content/child/indexed_db/webidbfactory_impl.cc
deleted file mode 100644
index b803dc2b1330c0fbd72afdc9a810a18ab801a1f7..0000000000000000000000000000000000000000
--- a/content/child/indexed_db/webidbfactory_impl.cc
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/child/indexed_db/webidbfactory_impl.h"
-
-#include "content/child/indexed_db/indexed_db_dispatcher.h"
-#include "content/child/storage_util.h"
-#include "content/child/thread_safe_sender.h"
-#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-
-using blink::WebIDBCallbacks;
-using blink::WebIDBDatabase;
-using blink::WebIDBDatabaseCallbacks;
-using blink::WebSecurityOrigin;
-using blink::WebString;
-
-namespace content {
-
-WebIDBFactoryImpl::WebIDBFactoryImpl(ThreadSafeSender* thread_safe_sender)
- : thread_safe_sender_(thread_safe_sender) {}
-
-WebIDBFactoryImpl::~WebIDBFactoryImpl() {}
-
-void WebIDBFactoryImpl::getDatabaseNames(WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin) {
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
- dispatcher->RequestIDBFactoryGetDatabaseNames(callbacks, origin);
-}
-
-void WebIDBFactoryImpl::open(const WebString& name,
- long long version,
- long long transaction_id,
- WebIDBCallbacks* callbacks,
- WebIDBDatabaseCallbacks* database_callbacks,
- const WebSecurityOrigin& origin) {
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
-
- dispatcher->RequestIDBFactoryOpen(name, version, transaction_id, callbacks,
- database_callbacks, origin);
-}
-
-void WebIDBFactoryImpl::deleteDatabase(const WebString& name,
- WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin) {
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
- dispatcher->RequestIDBFactoryDeleteDatabase(name, callbacks, origin);
-}
-
-} // namespace content
« no previous file with comments | « content/child/indexed_db/webidbfactory_impl.h ('k') | content/common/content_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698