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

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

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.h
diff --git a/chrome/browser/autofill/autocheckout_page_meta_data.h b/chrome/browser/autofill/autocheckout_page_meta_data.h
deleted file mode 100644
index 73bbc563e1ce5c341c5492a9b21cf469b730953f..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/autocheckout_page_meta_data.h
+++ /dev/null
@@ -1,49 +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.
-
-#ifndef CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_PAGE_META_DATA_H_
-#define CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_PAGE_META_DATA_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "components/autofill/common/web_element_descriptor.h"
-
-namespace autofill {
-
-// Container for multipage Autocheckout data.
-struct AutocheckoutPageMetaData {
- AutocheckoutPageMetaData();
- ~AutocheckoutPageMetaData();
-
- // Returns true if the Autofill server says that the current page is start of
- // a multipage Autofill flow.
- bool IsStartOfAutofillableFlow() const;
-
- // Returns true if the Autofill server says that the current page is in a
- // multipage Autofill flow.
- bool IsInAutofillableFlow() const;
-
- // Returns true if the Autofill server says that the current page is the end
- // of a multipage Autofill flow.
- bool IsEndOfAutofillableFlow() const;
-
- // Page number of the multipage Autofill flow this form belongs to
- // (zero-indexed). If this form doesn't belong to any autofill flow, it is set
- // to -1.
- int current_page_number;
-
- // Total number of pages in the multipage Autofill flow. If this form doesn't
- // belong to any autofill flow, it is set to -1.
- int total_pages;
-
- // The proceed element of the multipage Autofill flow. Can be null if the
- // current page is the last page of a flow or isn't a member of a flow.
- scoped_ptr<WebElementDescriptor> proceed_element_descriptor;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(AutocheckoutPageMetaData);
-};
-
-} // namespace autofill
-
-#endif // CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_PAGE_META_DATA_H_
« no previous file with comments | « chrome/browser/autofill/autocheckout_manager_unittest.cc ('k') | chrome/browser/autofill/autocheckout_page_meta_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698