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

Unified Diff: components/autofill/content/browser/autocheckout_statistic.h

Issue 21054003: Autocheckout: Manually revert r208999 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 5 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: components/autofill/content/browser/autocheckout_statistic.h
diff --git a/components/autofill/content/browser/autocheckout_statistic.h b/components/autofill/content/browser/autocheckout_statistic.h
deleted file mode 100644
index 74f7df7cd9bea063e76b6a8e51e069cd8963fa18..0000000000000000000000000000000000000000
--- a/components/autofill/content/browser/autocheckout_statistic.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 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 COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_STATISTIC_H__
-#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_STATISTIC_H__
-
-#include <vector>
-
-#include "base/memory/scoped_ptr.h"
-#include "base/time/time.h"
-#include "components/autofill/content/browser/autocheckout_steps.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace autofill {
-
-// Per page statistics gathered in Autocheckout flow.
-struct AutocheckoutStatistic {
- AutocheckoutStatistic();
- ~AutocheckoutStatistic();
-
- // Page number for which this statistic is being recorded.
- int page_number;
-
- // Autocheckout steps that are part of |page_number|.
- std::vector<AutocheckoutStepType> steps;
-
- // Time taken for performing |steps|, used for measuring latency.
- base::TimeDelta time_taken;
-
- // Helper method to convert AutocheckoutStatistic to json representation.
- scoped_ptr<base::DictionaryValue> ToDictionary() const;
-};
-
-} // namespace autofill
-
-#endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_STATISTIC_H__

Powered by Google App Engine
This is Rietveld 408576698