diff options
author | ramankk@chromium.org <ramankk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 23:36:26 +0000 |
---|---|---|
committer | ramankk@chromium.org <ramankk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 23:36:26 +0000 |
commit | 5da3f11b21c507c882f076703a6b6717ff7fd7d9 (patch) | |
tree | e8e0a642e2081b9815ef41d519d52f4b8d847fbf /android_webview/native | |
parent | 8b5345a7aba564f05580c724fcbd46091d5cb7d8 (diff) | |
download | chromium_src-5da3f11b21c507c882f076703a6b6717ff7fd7d9.zip chromium_src-5da3f11b21c507c882f076703a6b6717ff7fd7d9.tar.gz chromium_src-5da3f11b21c507c882f076703a6b6717ff7fd7d9.tar.bz2 |
Remove autocheckout code.
BUG=276002
Review URL: https://chromiumcodereview.appspot.com/23033016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native')
-rw-r--r-- | android_webview/native/aw_autofill_manager_delegate.cc | 37 | ||||
-rw-r--r-- | android_webview/native/aw_autofill_manager_delegate.h | 19 |
2 files changed, 0 insertions, 56 deletions
diff --git a/android_webview/native/aw_autofill_manager_delegate.cc b/android_webview/native/aw_autofill_manager_delegate.cc index 37640cb..fdf8c8b 100644 --- a/android_webview/native/aw_autofill_manager_delegate.cc +++ b/android_webview/native/aw_autofill_manager_delegate.cc @@ -15,7 +15,6 @@ #include "base/prefs/pref_registry_simple.h" #include "base/prefs/pref_service.h" #include "base/prefs/pref_service_builder.h" -#include "components/autofill/content/browser/autocheckout/whitelist_manager.h" #include "components/autofill/core/browser/autofill_popup_delegate.h" #include "components/autofill/core/common/autofill_pref_names.h" #include "components/user_prefs/user_prefs.h" @@ -71,11 +70,6 @@ AwAutofillManagerDelegate::GetPersonalDataManager() { return NULL; } -autofill::autocheckout::WhitelistManager* -AwAutofillManagerDelegate::GetAutocheckoutWhitelistManager() const { - return NULL; -} - void AwAutofillManagerDelegate::ShowAutofillPopup( const gfx::RectF& element_bounds, base::i18n::TextDirection text_direction, @@ -168,14 +162,6 @@ void AwAutofillManagerDelegate::HideRequestAutocompleteDialog() { NOTIMPLEMENTED(); } -void AwAutofillManagerDelegate::OnAutocheckoutError() { - NOTIMPLEMENTED(); -} - -void AwAutofillManagerDelegate::OnAutocheckoutSuccess() { - NOTIMPLEMENTED(); -} - void AwAutofillManagerDelegate::ShowAutofillSettings() { NOTIMPLEMENTED(); } @@ -187,18 +173,6 @@ void AwAutofillManagerDelegate::ConfirmSaveCreditCard( NOTIMPLEMENTED(); } -bool AwAutofillManagerDelegate::ShowAutocheckoutBubble( - const gfx::RectF& bounding_box, - bool is_google_user, - const base::Callback<void(autofill::AutocheckoutBubbleState)>& callback) { - NOTIMPLEMENTED(); - return false; -} - -void AwAutofillManagerDelegate::HideAutocheckoutBubble() { - NOTIMPLEMENTED(); -} - void AwAutofillManagerDelegate::ShowRequestAutocompleteDialog( const autofill::FormData& form, const GURL& source_url, @@ -208,17 +182,6 @@ void AwAutofillManagerDelegate::ShowRequestAutocompleteDialog( NOTIMPLEMENTED(); } -void AwAutofillManagerDelegate::AddAutocheckoutStep( - autofill::AutocheckoutStepType step_type) { - NOTIMPLEMENTED(); -} - -void AwAutofillManagerDelegate::UpdateAutocheckoutStep( - autofill::AutocheckoutStepType step_type, - autofill::AutocheckoutStepStatus step_status) { - NOTIMPLEMENTED(); -} - bool RegisterAwAutofillManagerDelegate(JNIEnv* env) { return RegisterNativesImpl(env) >= 0; } diff --git a/android_webview/native/aw_autofill_manager_delegate.h b/android_webview/native/aw_autofill_manager_delegate.h index b39eb70..4d9299c 100644 --- a/android_webview/native/aw_autofill_manager_delegate.h +++ b/android_webview/native/aw_autofill_manager_delegate.h @@ -13,7 +13,6 @@ #include "base/compiler_specific.h" #include "base/prefs/pref_registry_simple.h" #include "base/prefs/pref_service_builder.h" -#include "components/autofill/core/browser/autocheckout_bubble_state.h" #include "components/autofill/core/browser/autofill_manager_delegate.h" #include "content/public/browser/web_contents_user_data.h" @@ -25,9 +24,6 @@ class FormStructure; class PasswordGenerator; class PersonalDataManager; struct FormData; -namespace autocheckout { -class WhitelistManager; -} } namespace content { @@ -63,22 +59,12 @@ class AwAutofillManagerDelegate // AutofillManagerDelegate implementation. virtual autofill::PersonalDataManager* GetPersonalDataManager() OVERRIDE; virtual PrefService* GetPrefs() OVERRIDE; - virtual autofill::autocheckout::WhitelistManager* - GetAutocheckoutWhitelistManager() const OVERRIDE; virtual void HideRequestAutocompleteDialog() OVERRIDE; - virtual void OnAutocheckoutError() OVERRIDE; - virtual void OnAutocheckoutSuccess() OVERRIDE; virtual void ShowAutofillSettings() OVERRIDE; virtual void ConfirmSaveCreditCard( const autofill::AutofillMetrics& metric_logger, const autofill::CreditCard& credit_card, const base::Closure& save_card_callback) OVERRIDE; - virtual bool ShowAutocheckoutBubble( - const gfx::RectF& bounds, - bool is_google_user, - const base::Callback<void( - autofill::AutocheckoutBubbleState)>& callback) OVERRIDE; - virtual void HideAutocheckoutBubble() OVERRIDE; virtual void ShowRequestAutocompleteDialog( const autofill::FormData& form, const GURL& source_url, @@ -98,11 +84,6 @@ class AwAutofillManagerDelegate const std::vector<base::string16>& labels) OVERRIDE; virtual void HideAutofillPopup() OVERRIDE; virtual bool IsAutocompleteEnabled() OVERRIDE; - virtual void AddAutocheckoutStep(autofill::AutocheckoutStepType step_type) - OVERRIDE; - virtual void UpdateAutocheckoutStep( - autofill::AutocheckoutStepType step_type, - autofill::AutocheckoutStepStatus step_status) OVERRIDE; void SuggestionSelected(JNIEnv* env, jobject obj, |