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

Unified Diff: components/autofill/browser/autofill_manager.cc

Issue 14017003: Disabling Autocheckout on non-Views builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/autofill_manager.cc
diff --git a/components/autofill/browser/autofill_manager.cc b/components/autofill/browser/autofill_manager.cc
index ceecddb17fa24df776146692322544e1e01bedff..833106653e2317cd85f49915f73cd9370375e439 100644
--- a/components/autofill/browser/autofill_manager.cc
+++ b/components/autofill/browser/autofill_manager.cc
@@ -879,8 +879,12 @@ void AutofillManager::OnLoadedServerPredictions(
page_meta_data.get(),
*metric_logger_);
+ // TODO(ahutter): Remove this once Autocheckout is implemented on other
+ // platforms. See http://crbug.com/173416.
+#if defined(TOOLKIT_VIEWS)
if (!GetAutocheckoutURLPrefix().empty())
autocheckout_manager_.OnLoadedPageMetaData(page_meta_data.Pass());
+#endif // #if defined(TOOLKIT_VIEWS)
// If the corresponding flag is set, annotate forms with the predicted types.
SendAutofillTypePredictions(form_structures_.get());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698