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

Unified Diff: components/autofill/content/browser/autocheckout_page_meta_data.cc

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/content/browser/autocheckout_page_meta_data.cc
diff --git a/components/autofill/content/browser/autocheckout_page_meta_data.cc b/components/autofill/content/browser/autocheckout_page_meta_data.cc
deleted file mode 100644
index be03d70c592eeb9837e86af3230bc5cbae63dc81..0000000000000000000000000000000000000000
--- a/components/autofill/content/browser/autocheckout_page_meta_data.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/autofill/content/browser/autocheckout_page_meta_data.h"
-
-namespace autofill {
-
-AutocheckoutPageMetaData::AutocheckoutPageMetaData()
- : current_page_number(-1),
- total_pages(-1),
- ignore_ajax(true) {}
-
-AutocheckoutPageMetaData::~AutocheckoutPageMetaData() {}
-
-bool AutocheckoutPageMetaData::IsStartOfAutofillableFlow() const {
- return current_page_number == 0 && total_pages > 0;
-}
-
-bool AutocheckoutPageMetaData::IsInAutofillableFlow() const {
- return current_page_number >= 0 && current_page_number < total_pages;
-}
-
-bool AutocheckoutPageMetaData::IsEndOfAutofillableFlow() const {
- return total_pages > 0 && current_page_number == total_pages - 1;
-}
-
-} // namesapce autofill

Powered by Google App Engine
This is Rietveld 408576698