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

Side by Side 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, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/autofill/content/browser/autocheckout_page_meta_data.h"
6
7 namespace autofill {
8
9 AutocheckoutPageMetaData::AutocheckoutPageMetaData()
10 : current_page_number(-1),
11 total_pages(-1),
12 ignore_ajax(true) {}
13
14 AutocheckoutPageMetaData::~AutocheckoutPageMetaData() {}
15
16 bool AutocheckoutPageMetaData::IsStartOfAutofillableFlow() const {
17 return current_page_number == 0 && total_pages > 0;
18 }
19
20 bool AutocheckoutPageMetaData::IsInAutofillableFlow() const {
21 return current_page_number >= 0 && current_page_number < total_pages;
22 }
23
24 bool AutocheckoutPageMetaData::IsEndOfAutofillableFlow() const {
25 return total_pages > 0 && current_page_number == total_pages - 1;
26 }
27
28 } // namesapce autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698