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

Side by Side Diff: chrome/browser/protector/histograms.h

Issue 8430027: Added histogram on successful check. Safe verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed signing, added counters Created 9 years, 1 month 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_PROTECTOR_HISTOGRAMS_H_ 5 #ifndef CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_
6 #define CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ 6 #define CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_
7 #pragma once 7 #pragma once
8 8
9 namespace protector { 9 namespace protector {
10 10
11 // Histogram name to report protection errors for the default search 11 // Histogram name to report protection errors for the default search
12 // provider. 12 // provider.
13 extern const char kProtectorHistogramDefaultSearchProvider[]; 13 extern const char kProtectorHistogramDefaultSearchProvider[];
14 14
15 extern const char kProtectorBackupInvalidCounter[];
16 extern const char kProtectorValueChangedCounter[];
17 extern const char kProtectorValueValidCounter[];
18
15 // Protector histogram values. 19 // Protector histogram values.
16 enum ProtectorError { 20 enum ProtectorError {
17 kProtectorErrorBackupInvalid, 21 kProtectorErrorBackupInvalid,
18 kProtectorErrorValueChanged, 22 kProtectorErrorValueChanged,
23 kProtectorErrorValueValid,
19 24
20 // This is for convenience only, must always be the last. 25 // This is for convenience only, must always be the last.
21 kProtectorErrorCount 26 kProtectorErrorCount
22 }; 27 };
23 28
24 } // namespace protector 29 } // namespace protector
25 30
26 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ 31 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_
27 32
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/protector/histograms.cc » ('j') | chrome/browser/protector/protector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698