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

Unified Diff: content/browser/renderer_host/database_message_filter.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
« no previous file with comments | « content/browser/indexed_db/indexed_db_unittest.cc ('k') | webkit/base/origin_url_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/database_message_filter.cc
diff --git a/content/browser/renderer_host/database_message_filter.cc b/content/browser/renderer_host/database_message_filter.cc
index 87afb3838566f122acfbe1edd63cb90682e7243f..fdb78c499d43774a628dbdd3e89745acf17c60d1 100644
--- a/content/browser/renderer_host/database_message_filter.cc
+++ b/content/browser/renderer_host/database_message_filter.cc
@@ -16,10 +16,10 @@
#include "content/public/common/result_codes.h"
#include "googleurl/src/gurl.h"
#include "third_party/sqlite/sqlite3.h"
-#include "webkit/base/origin_url_conversions.h"
#include "webkit/browser/database/database_util.h"
#include "webkit/browser/database/vfs_backend.h"
#include "webkit/browser/quota/quota_manager.h"
+#include "webkit/common/database/database_identifier.h"
#if defined(OS_POSIX)
#include "base/file_descriptor_posix.h"
@@ -260,7 +260,7 @@ void DatabaseMessageFilter::OnDatabaseGetSpaceAvailable(
}
quota_manager->GetUsageAndQuota(
- webkit_base::GetOriginURLFromIdentifier(origin_identifier),
+ webkit_database::GetOriginFromIdentifier(origin_identifier),
quota::kStorageTypeTemporary,
base::Bind(&DatabaseMessageFilter::OnDatabaseGetUsageAndQuota,
this, reply_msg));
« no previous file with comments | « content/browser/indexed_db/indexed_db_unittest.cc ('k') | webkit/base/origin_url_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698