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

Unified Diff: content/renderer/indexed_db/renderer_webidbfactory_impl.cc

Issue 9368053: Move indexed db files from content/renderer to content/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneccesary include Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/indexed_db/renderer_webidbfactory_impl.cc
diff --git a/content/renderer/indexed_db/renderer_webidbfactory_impl.cc b/content/renderer/indexed_db/renderer_webidbfactory_impl.cc
deleted file mode 100644
index 166d92c1d1c1b2bb8ea65cb4fa050838caacfd92..0000000000000000000000000000000000000000
--- a/content/renderer/indexed_db/renderer_webidbfactory_impl.cc
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2011 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/renderer/indexed_db/renderer_webidbfactory_impl.h"
-
-#include "content/renderer/indexed_db/indexed_db_dispatcher.h"
-#include "content/renderer/render_thread_impl.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
-
-using WebKit::WebDOMStringList;
-using WebKit::WebFrame;
-using WebKit::WebIDBCallbacks;
-using WebKit::WebIDBDatabase;
-using WebKit::WebSecurityOrigin;
-using WebKit::WebString;
-
-RendererWebIDBFactoryImpl::RendererWebIDBFactoryImpl() {
-}
-
-RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() {
-}
-
-void RendererWebIDBFactoryImpl::getDatabaseNames(
- WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin,
- WebFrame* web_frame,
- const WebString& data_dir_unused) {
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance();
- dispatcher->RequestIDBFactoryGetDatabaseNames(
- callbacks, origin.databaseIdentifier(), web_frame);
-}
-
-void RendererWebIDBFactoryImpl::open(
- const WebString& name,
- WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin,
- WebFrame* web_frame,
- const WebString& data_dir) {
- // Don't send the data_dir. We know what we want on the Browser side of
- // things.
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance();
- dispatcher->RequestIDBFactoryOpen(
- name, callbacks, origin.databaseIdentifier(), web_frame);
-}
-
-void RendererWebIDBFactoryImpl::deleteDatabase(
- const WebString& name,
- WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin,
- WebFrame* web_frame,
- const WebString& data_dir) {
- // Don't send the data_dir. We know what we want on the Browser side of
- // things.
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance();
- dispatcher->RequestIDBFactoryDeleteDatabase(
- name, callbacks, origin.databaseIdentifier(), web_frame);
-}
« no previous file with comments | « content/renderer/indexed_db/renderer_webidbfactory_impl.h ('k') | content/renderer/indexed_db/renderer_webidbindex_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698