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

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

Issue 13811045: Autofill:Autocheckout: Enable Autocheckout for finch experimenting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation 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
Index: components/autofill/browser/autofill_manager.cc
diff --git a/components/autofill/browser/autofill_manager.cc b/components/autofill/browser/autofill_manager.cc
index e7660549008d1d549210a911f95d446f45123a5d..d76b5a66a384e5d1f1da7840ec152b57c12cda88 100644
--- a/components/autofill/browser/autofill_manager.cc
+++ b/components/autofill/browser/autofill_manager.cc
@@ -877,7 +877,8 @@ void AutofillManager::OnLoadedServerPredictions(
page_meta_data.get(),
*metric_logger_);
- autocheckout_manager_.OnLoadedPageMetaData(page_meta_data.Pass());
+ if (!GetAutocheckoutURLPrefix().empty())
+ autocheckout_manager_.OnLoadedPageMetaData(page_meta_data.Pass());
// If the corresponding flag is set, annotate forms with the predicted types.
SendAutofillTypePredictions(form_structures_.get());
« no previous file with comments | « components/autofill/browser/autocheckout/whitelist_manager.cc ('k') | components/autofill/renderer/form_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698