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

Unified Diff: chrome/browser/autofill/autocheckout_page_meta_data.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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: chrome/browser/autofill/autocheckout_page_meta_data.cc
diff --git a/chrome/browser/autofill/autocheckout_page_meta_data.cc b/chrome/browser/autofill/autocheckout_page_meta_data.cc
deleted file mode 100644
index 54cc01cf87acb944c4c761ca122174e60a3cb066..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/autocheckout_page_meta_data.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 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 "chrome/browser/autofill/autocheckout_page_meta_data.h"
-
-namespace autofill {
-
-AutocheckoutPageMetaData::AutocheckoutPageMetaData()
- : current_page_number(-1),
- total_pages(-1) {}
-
-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
« no previous file with comments | « chrome/browser/autofill/autocheckout_page_meta_data.h ('k') | chrome/browser/autofill/autocheckout_page_meta_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698