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

Unified Diff: chrome/renderer/renderer_webidbfactory_impl.cc

Issue 6713024: Move the renderer_web* files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « chrome/renderer/renderer_webidbfactory_impl.h ('k') | chrome/renderer/renderer_webidbindex_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbfactory_impl.cc
===================================================================
--- chrome/renderer/renderer_webidbfactory_impl.cc (revision 78640)
+++ chrome/renderer/renderer_webidbfactory_impl.cc (working copy)
@@ -1,54 +0,0 @@
-// Copyright (c) 2010 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 "chrome/renderer/renderer_webidbfactory_impl.h"
-
-#include "chrome/common/render_messages.h"
-#include "chrome/renderer/render_thread.h"
-#include "content/renderer/indexed_db_dispatcher.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/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::open(
- const WebString& name,
- WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin,
- WebFrame* web_frame,
- const WebString& data_dir,
- unsigned long long maximum_size,
- WebKit::WebIDBFactory::BackingStoreType) {
- // Don't send the data_dir. We know what we want on the Browser side of
- // things.
- IndexedDBDispatcher* dispatcher =
- RenderThread::current()->indexed_db_dispatcher();
- dispatcher->RequestIDBFactoryOpen(
- name, callbacks, origin.databaseIdentifier(), web_frame, maximum_size);
-}
-
-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 =
- RenderThread::current()->indexed_db_dispatcher();
- dispatcher->RequestIDBFactoryDeleteDatabase(
- name, callbacks, origin.databaseIdentifier(), web_frame);
-}
« no previous file with comments | « chrome/renderer/renderer_webidbfactory_impl.h ('k') | chrome/renderer/renderer_webidbindex_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698