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

Unified Diff: components/autofill/core/browser/autofill_manager.h

Issue 23033016: Remove autocheckout code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Even more deletes, and Ilya review. Created 7 years, 4 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/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index b9e4d3115229f56c37ce035654e7eb904ed74c31..81451afd372c4965b7090824d2f4e25aee31acc7 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -19,13 +19,11 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
-#include "components/autofill/content/browser/autocheckout_manager.h"
#include "components/autofill/core/browser/autocomplete_history_manager.h"
#include "components/autofill/core/browser/autofill_download.h"
#include "components/autofill/core/browser/autofill_manager_delegate.h"
#include "components/autofill/core/browser/form_structure.h"
#include "components/autofill/core/browser/personal_data_manager.h"
-#include "components/autofill/core/common/autocheckout_status.h"
#include "components/autofill/core/common/form_data.h"
#include "components/autofill/core/common/forms_seen_state.h"
#include "third_party/WebKit/public/web/WebFormElement.h"
@@ -167,23 +165,9 @@ class AutofillManager : public AutofillDownloadManager::Observer {
void OnRequestAutocomplete(const FormData& form,
const GURL& frame_url);
- // Called to signal a page is completed in renderer in the Autocheckout flow.
- void OnAutocheckoutPageCompleted(autofill::AutocheckoutStatus status);
-
- // Shows the Autocheckout bubble if conditions are right. See comments for
- // AutocheckoutManager::MaybeShowAutocheckoutBubble. Input element requesting
- // bubble belongs to |form|. |bounding_box| is the bounding box of the input
- // field in focus.
- virtual void OnMaybeShowAutocheckoutBubble(const FormData& form,
- const gfx::RectF& bounding_box);
-
// Resets cache.
virtual void Reset();
- autofill::AutocheckoutManager* autocheckout_manager() {
- return &autocheckout_manager_;
- }
-
protected:
// Test code should prefer to use this constructor.
AutofillManager(AutofillDriver* driver,
@@ -242,9 +226,6 @@ class AutofillManager : public AutofillDownloadManager::Observer {
void ReturnAutocompleteData(const FormStructure* result,
const std::string& unused_transaction_id);
- // Returns the matched whitelist URL prefix for the current tab's url.
- virtual std::string GetAutocheckoutURLPrefix() const;
-
// Fills |host| with the RenderViewHost for this tab.
// Returns false if Autofill is disabled or if the host is unavailable.
bool GetHost(content::RenderViewHost** host) const WARN_UNUSED_RESULT;
@@ -333,9 +314,6 @@ class AutofillManager : public AutofillDownloadManager::Observer {
// Handles single-field autocomplete form data.
scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_;
- // Handles autocheckout flows.
- autofill::AutocheckoutManager autocheckout_manager_;
-
// For logging UMA metrics. Overridden by metrics tests.
scoped_ptr<const AutofillMetrics> metric_logger_;
// Have we logged whether Autofill is enabled for this page load?

Powered by Google App Engine
This is Rietveld 408576698