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

Side by Side Diff: chrome/browser/autofill/autofill_metrics.h

Issue 6775005: iwyu: Cleanup in the following files: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test fixes. Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stddef.h>
9 #include <string> 10 #include <string>
10 11
11 #include "base/basictypes.h" 12 #include "base/basictypes.h"
12 13
13 class AutofillMetrics { 14 class AutofillMetrics {
14 public: 15 public:
15 // Each of these is logged at most once per form submission. 16 // Each of these is logged at most once per form submission.
16 enum CreditCardInfoBarMetric { 17 enum CreditCardInfoBarMetric {
17 // Logged when we show an infobar prompting to save credit card info. 18 // Logged when we show an infobar prompting to save credit card info.
18 CREDIT_CARD_INFOBAR_SHOWN = 0, 19 CREDIT_CARD_INFOBAR_SHOWN = 0,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void Log(ServerQueryMetric metric) const; 80 virtual void Log(ServerQueryMetric metric) const;
80 81
81 // This should be called at most once per run. 82 // This should be called at most once per run.
82 virtual void LogStoredProfileCount(size_t num_profiles) const; 83 virtual void LogStoredProfileCount(size_t num_profiles) const;
83 84
84 private: 85 private:
85 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); 86 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
86 }; 87 };
87 88
88 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ 89 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_ie_toolbar_import_win.cc ('k') | chrome/browser/autofill/autofill_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698