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

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

Issue 9688002: [protector] Added SessionStartupChange for representing changes in SessionStartupPref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments. Created 8 years, 9 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
« no previous file with comments | « chrome/browser/protector/base_setting_change.h ('k') | chrome/browser/protector/histograms.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 class TemplateURL; 9 class TemplateURL;
10 10
(...skipping 29 matching lines...) Expand all
40 extern const char kProtectorHistogramSearchProviderHijacked[]; 40 extern const char kProtectorHistogramSearchProviderHijacked[];
41 // Histogram name to report when the prepopulated default search provider was 41 // Histogram name to report when the prepopulated default search provider was
42 // missing and has been added for fallback. 42 // missing and has been added for fallback.
43 extern const char kProtectorHistogramSearchProviderMissing[]; 43 extern const char kProtectorHistogramSearchProviderMissing[];
44 // Histogram name to report the default search provider restored by Protector 44 // Histogram name to report the default search provider restored by Protector
45 // before showing user the bubble. 45 // before showing user the bubble.
46 extern const char kProtectorHistogramSearchProviderRestored[]; 46 extern const char kProtectorHistogramSearchProviderRestored[];
47 // Histogram name to report when user ignores search provider change. 47 // Histogram name to report when user ignores search provider change.
48 extern const char kProtectorHistogramSearchProviderTimeout[]; 48 extern const char kProtectorHistogramSearchProviderTimeout[];
49 49
50 // Histogram name to report when user accepts new startup settings.
51 extern const char kProtectorHistogramStartupSettingsApplied[];
52 // Histogram name to report the new startup settings when the backup is
53 // valid and a change is detected.
54 extern const char kProtectorHistogramStartupSettingsChanged[];
55 // Histogram name to report when keeps previous startup settings.
56 extern const char kProtectorHistogramStartupSettingsDiscarded[];
57 // Histogram name to report when user ignores startup settings change.
58 extern const char kProtectorHistogramStartupSettingsTimeout[];
59
60 // Maximum value of search provider index in histogram enums.
61 extern const int kProtectorMaxSearchProviderID;
62
50 // Returns index to be used in histograms for given search provider (which may 63 // Returns index to be used in histograms for given search provider (which may
51 // be NULL, in which case a special index will be returned). 64 // be NULL, in which case a special index will be returned).
52 int GetSearchProviderHistogramID(const TemplateURL* turl); 65 int GetSearchProviderHistogramID(const TemplateURL* turl);
53 66
54 // Maximum value of search provider index in histogram enums.
55 extern const int kProtectorMaxSearchProviderID;
56
57 } // namespace protector 67 } // namespace protector
58 68
59 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ 69 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_
OLDNEW
« no previous file with comments | « chrome/browser/protector/base_setting_change.h ('k') | chrome/browser/protector/histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698