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

Unified Diff: android_webview/native/android_protocol_handler.cc

Issue 273193004: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing files. Created 6 years, 7 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: android_webview/native/android_protocol_handler.cc
diff --git a/android_webview/native/android_protocol_handler.cc b/android_webview/native/android_protocol_handler.cc
index 858d0fe16a8419c11516b6e39754e0039726bd0c..a396fb9eca05ee3205e71dc66c1abc2631987d21 100644
--- a/android_webview/native/android_protocol_handler.cc
+++ b/android_webview/native/android_protocol_handler.cc
@@ -228,10 +228,10 @@ net::URLRequestJob* AndroidProtocolHandlerBase::MaybeCreateJob(
// AssetFileProtocolHandler ---------------------------------------------------
AssetFileProtocolHandler::AssetFileProtocolHandler()
- : asset_prefix_(std::string(content::kFileScheme) +
+ : asset_prefix_(std::string(url::kFileScheme) +
std::string(content::kStandardSchemeSeparator) +
android_webview::kAndroidAssetPath),
- resource_prefix_(std::string(content::kFileScheme) +
+ resource_prefix_(std::string(url::kFileScheme) +
std::string(content::kStandardSchemeSeparator) +
android_webview::kAndroidResourcePath) {
}

Powered by Google App Engine
This is Rietveld 408576698