diff options
author | ahutter@chromium.org <ahutter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 03:19:16 +0000 |
---|---|---|
committer | ahutter@chromium.org <ahutter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 03:19:16 +0000 |
commit | 140e8951216c525d87e28488d2d5c0a21eb561a5 (patch) | |
tree | 5e9ae5d7f33a5111295b761a45a2468e91266577 /components/autofill/browser/autofill_manager.cc | |
parent | 55a3c7efe4000b46b35a557b422e2697f25ff685 (diff) | |
download | chromium_src-140e8951216c525d87e28488d2d5c0a21eb561a5.zip chromium_src-140e8951216c525d87e28488d2d5c0a21eb561a5.tar.gz chromium_src-140e8951216c525d87e28488d2d5c0a21eb561a5.tar.bz2 |
Disabling Autocheckout on non-Views builds.
BUG=229710
Review URL: https://chromiumcodereview.appspot.com/14017003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill/browser/autofill_manager.cc')
-rw-r--r-- | components/autofill/browser/autofill_manager.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/autofill/browser/autofill_manager.cc b/components/autofill/browser/autofill_manager.cc index ceecddb..8331066 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()); |