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

Unified Diff: chrome/browser/android/omnibox/autocomplete_controller_android.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: chrome/browser/android/omnibox/autocomplete_controller_android.cc
diff --git a/chrome/browser/android/omnibox/autocomplete_controller_android.cc b/chrome/browser/android/omnibox/autocomplete_controller_android.cc
index 60b66837652aeb62650594a5c265733f1cec8562..55452e8b114e0029201dc235b40a25f52263da79 100644
--- a/chrome/browser/android/omnibox/autocomplete_controller_android.cc
+++ b/chrome/browser/android/omnibox/autocomplete_controller_android.cc
@@ -215,6 +215,7 @@ void AutocompleteControllerAndroid::OnSuggestionSelected(
jboolean focused_from_fakebox,
jlong elapsed_time_since_first_modified,
jobject j_web_contents) {
+#if !defined(USE_AURA)
base::string16 url = ConvertJavaStringToUTF16(env, j_current_url);
const GURL current_url = GURL(url);
OmniboxEventProto::PageClassification current_page_classification =
@@ -243,6 +244,7 @@ void AutocompleteControllerAndroid::OnSuggestionSelected(
chrome::NOTIFICATION_OMNIBOX_OPENED_URL,
content::Source<Profile>(profile_),
content::Details<OmniboxLog>(&log));
+#endif
}
void AutocompleteControllerAndroid::DeleteSuggestion(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698