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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java

Issue 11085008: [Android] Upstream content detection and ChromeBrowserProvider tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase after landing resources separately. Created 8 years, 2 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/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
index 411738b37ceb56cb9f7287ec68d7ff3245a6f7a4..a3cea97adb0dc4a11797a22f243ccb9b86be4c23 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
@@ -132,20 +132,20 @@ public class ContentViewClient {
/**
* Called when a new content intent is requested to be started.
*/
- public void onStartContentIntent(Context context, String contentUrl) {
+ public void onStartContentIntent(Context context, String intentUrl) {
Intent intent;
// Perform generic parsing of the URI to turn it into an Intent.
try {
- intent = Intent.parseUri(contentUrl, Intent.URI_INTENT_SCHEME);
+ intent = Intent.parseUri(intentUrl, Intent.URI_INTENT_SCHEME);
} catch (URISyntaxException ex) {
- Log.w(TAG, "Bad URI " + contentUrl + ": " + ex.getMessage());
+ Log.w(TAG, "Bad URI " + intentUrl + ": " + ex.getMessage());
return;
}
try {
context.startActivity(intent);
} catch (ActivityNotFoundException ex) {
- Log.w(TAG, "No application can handle " + contentUrl);
+ Log.w(TAG, "No application can handle " + intentUrl);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698