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

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

Issue 12091086: [Autofill] Add UMA timing metrics for requestAutocomplete dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the test. Created 7 years, 10 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_manager.h
diff --git a/chrome/browser/autofill/autocheckout_manager.h b/chrome/browser/autofill/autocheckout_manager.h
index 9e0b7ebc0581f0623e6800076db3473b0e7abe99..85f928ac17e4b280872d2e19ad4f887588a87683 100644
--- a/chrome/browser/autofill/autocheckout_manager.h
+++ b/chrome/browser/autofill/autocheckout_manager.h
@@ -21,21 +21,20 @@ class GURL;
struct FormData;
struct FormFieldData;
-namespace autofill {
-struct WebElementDescriptor;
-}
-
namespace content {
struct SSLStatus;
}
+namespace autofill {
+
+struct WebElementDescriptor;
+
class AutocheckoutManager {
public:
explicit AutocheckoutManager(AutofillManager* autofill_manager);
// Sets proceed element to use when filling forms on the current page.
- void SetProceedElementDescriptor(
- const autofill::WebElementDescriptor& proceed);
+ void SetProceedElementDescriptor(const WebElementDescriptor& proceed);
// Fill all the forms seen by the Autofill manager with the information
// gathered from the requestAutocomplete dialog.
@@ -68,11 +67,13 @@ class AutocheckoutManager {
// Descriptor of the web element to click in order to proceed in the
// Autocheckout flow.
- scoped_ptr<autofill::WebElementDescriptor> proceed_descriptor_;
+ scoped_ptr<WebElementDescriptor> proceed_descriptor_;
base::WeakPtrFactory<AutocheckoutManager> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(AutocheckoutManager);
};
+} // namespace autofill
+
#endif // CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698