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

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

Issue 7740070: Add metrics to measure time elapsed between form load and form submission with or without Autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Serialize in all the right places Created 9 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: chrome/browser/autofill/autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index b850a4133817a8feb68d702d19ba0da0633a3577..e2f7f88097be478eeccc2d05d8dc984f83e55fb5 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -10,6 +10,7 @@
#include "base/string16.h"
#include "base/string_number_conversions.h"
#include "base/stringprintf.h"
+#include "base/time.h"
#include "base/tuple.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autocomplete_history_manager.h"
@@ -516,7 +517,7 @@ class AutofillManagerTest : public TabContentsWrapperTestHarness {
}
void FormSubmitted(const FormData& form) {
- autofill_manager_->OnFormSubmitted(form);
+ autofill_manager_->OnFormSubmitted(form, base::TimeTicks());
}
void FillAutofillFormData(int query_id,

Powered by Google App Engine
This is Rietveld 408576698