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

Unified Diff: content/common/indexed_db/proxy_webidbfactory_impl.cc

Issue 14156007: Remove WebSecurityOrigin from chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update to ToT Created 7 years, 8 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/common/indexed_db/proxy_webidbfactory_impl.h ('k') | webkit/support/test_webidbfactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/proxy_webidbfactory_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbfactory_impl.cc b/content/common/indexed_db/proxy_webidbfactory_impl.cc
index d6a0bec547398ec2f4e4f59daad931240ec56e41..c9376e99573757ace3b2af2d7be0451ecab24194 100644
--- a/content/common/indexed_db/proxy_webidbfactory_impl.cc
+++ b/content/common/indexed_db/proxy_webidbfactory_impl.cc
@@ -12,7 +12,6 @@ using WebKit::WebFrame;
using WebKit::WebIDBCallbacks;
using WebKit::WebIDBDatabase;
using WebKit::WebIDBDatabaseCallbacks;
-using WebKit::WebSecurityOrigin;
using WebKit::WebString;
namespace content {
@@ -25,13 +24,12 @@ RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() {
void RendererWebIDBFactoryImpl::getDatabaseNames(
WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin,
- WebFrame* web_frame,
+ const WebString& database_identifier,
const WebString& data_dir_unused) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBFactoryGetDatabaseNames(
- callbacks, origin.databaseIdentifier(), web_frame);
+ callbacks, database_identifier);
}
void RendererWebIDBFactoryImpl::open(
@@ -40,8 +38,7 @@ void RendererWebIDBFactoryImpl::open(
long long transaction_id,
WebIDBCallbacks* callbacks,
WebIDBDatabaseCallbacks* database_callbacks,
- const WebSecurityOrigin& origin,
- WebFrame* web_frame,
+ const WebString& database_identifier,
const WebString& data_dir) {
// Don't send the data_dir. We know what we want on the Browser side of
// things.
@@ -49,22 +46,20 @@ void RendererWebIDBFactoryImpl::open(
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBFactoryOpen(
name, version, transaction_id, callbacks, database_callbacks,
- origin.databaseIdentifier(),
- web_frame);
+ database_identifier);
}
void RendererWebIDBFactoryImpl::deleteDatabase(
const WebString& name,
WebIDBCallbacks* callbacks,
- const WebSecurityOrigin& origin,
- WebFrame* web_frame,
+ const WebString& database_identifier,
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);
+ name, callbacks, database_identifier);
}
} // namespace content
« no previous file with comments | « content/common/indexed_db/proxy_webidbfactory_impl.h ('k') | webkit/support/test_webidbfactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698