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

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

Issue 10066013: [protector] Homepage UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License update. Created 8 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
« no previous file with comments | « chrome/browser/protector/histograms.h ('k') | chrome/browser/protector/homepage_change.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 #include "chrome/browser/protector/histograms.h" 5 #include "chrome/browser/protector/histograms.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "chrome/browser/search_engines/template_url.h" 8 #include "chrome/browser/search_engines/template_url.h"
9 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" 9 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 const char kProtectorHistogramStartupSettingsApplied[] = 36 const char kProtectorHistogramStartupSettingsApplied[] =
37 "Protector.StartupSettings.Applied"; 37 "Protector.StartupSettings.Applied";
38 const char kProtectorHistogramStartupSettingsChanged[] = 38 const char kProtectorHistogramStartupSettingsChanged[] =
39 "Protector.StartupSettings.Changed"; 39 "Protector.StartupSettings.Changed";
40 const char kProtectorHistogramStartupSettingsDiscarded[] = 40 const char kProtectorHistogramStartupSettingsDiscarded[] =
41 "Protector.StartupSettings.Discarded"; 41 "Protector.StartupSettings.Discarded";
42 const char kProtectorHistogramStartupSettingsTimeout[] = 42 const char kProtectorHistogramStartupSettingsTimeout[] =
43 "Protector.StartupSettings.Timeout"; 43 "Protector.StartupSettings.Timeout";
44 44
45 const char kProtectorHistogramHomepageApplied[] =
46 "Protector.Homepage.Applied";
47 const char kProtectorHistogramHomepageChanged[] =
48 "Protector.Homepage.Changed";
49 const char kProtectorHistogramHomepageDiscarded[] =
50 "Protector.Homepage.Discarded";
51 const char kProtectorHistogramHomepageTimeout[] =
52 "Protector.Homepage.Timeout";
53
45 const int kProtectorMaxSearchProviderID = SEARCH_ENGINE_MAX; 54 const int kProtectorMaxSearchProviderID = SEARCH_ENGINE_MAX;
46 55
47 int GetSearchProviderHistogramID(const TemplateURL* t_url) { 56 int GetSearchProviderHistogramID(const TemplateURL* t_url) {
48 return t_url ? 57 return t_url ?
49 TemplateURLPrepopulateData::GetEngineType(t_url->url()) : 58 TemplateURLPrepopulateData::GetEngineType(t_url->url()) :
50 SEARCH_ENGINE_NONE; 59 SEARCH_ENGINE_NONE;
51 } 60 }
52 61
53 } // namespace protector 62 } // namespace protector
OLDNEW
« no previous file with comments | « chrome/browser/protector/histograms.h ('k') | chrome/browser/protector/homepage_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698