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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc

Issue 16879013: Use chromium logic for database identifier<->origin conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove webkit/base/origin_url_conversions 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
index c8d063af2d40f20ea108c673745cce4b64d2006a..c3f126e62c9714f39e0fbd9c712734462ed91bc6 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -29,8 +29,8 @@
#include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
#include "third_party/WebKit/public/platform/WebIDBDatabaseException.h"
#include "webkit/base/file_path_string_conversions.h"
-#include "webkit/base/origin_url_conversions.h"
#include "webkit/browser/database/database_util.h"
+#include "webkit/common/database/database_identifier.h"
using webkit_database::DatabaseUtil;
using WebKit::WebIDBDatabaseError;
@@ -233,7 +233,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryOpen(
base::FilePath indexed_db_path = indexed_db_context_->data_path();
GURL origin_url =
- webkit_base::GetOriginURLFromIdentifier(params.database_identifier);
+ webkit_database::GetOriginFromIdentifier(params.database_identifier);
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698