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

Unified Diff: chrome/browser/protector/histograms.cc

Issue 11493003: Remove the protector service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix implicit ExtensionSystem -> TemplateURLService dependency Created 8 years 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
« no previous file with comments | « chrome/browser/protector/histograms.h ('k') | chrome/browser/protector/homepage_change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/histograms.cc
diff --git a/chrome/browser/protector/histograms.cc b/chrome/browser/protector/histograms.cc
deleted file mode 100644
index 761cbecfdba1ee812d969fb8b30952705cedf215..0000000000000000000000000000000000000000
--- a/chrome/browser/protector/histograms.cc
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "chrome/browser/protector/histograms.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/search_engines/template_url.h"
-#include "chrome/browser/search_engines/template_url_prepopulate_data.h"
-
-namespace protector {
-
-const char kProtectorHistogramDefaultSearchProvider[] =
- "Protector.DefaultSearchProvider";
-
-const char kProtectorHistogramPrefs[] =
- "Protector.Preferences";
-
-const char kProtectorHistogramSearchProviderApplied[] =
- "Protector.SearchProvider.Applied";
-const char kProtectorHistogramSearchProviderCorrupt[] =
- "Protector.SearchProvider.Corrupt";
-const char kProtectorHistogramSearchProviderDiscarded[] =
- "Protector.SearchProvider.Discarded";
-const char kProtectorHistogramSearchProviderFallback[] =
- "Protector.SearchProvider.Fallback";
-const char kProtectorHistogramSearchProviderHijacked[] =
- "Protector.SearchProvider.Hijacked";
-const char kProtectorHistogramSearchProviderMissing[] =
- "Protector.SearchProvider.Missing";
-const char kProtectorHistogramSearchProviderRestored[] =
- "Protector.SearchProvider.Restored";
-const char kProtectorHistogramSearchProviderTimeout[] =
- "Protector.SearchProvider.Timeout";
-
-const char kProtectorHistogramStartupSettingsApplied[] =
- "Protector.StartupSettings.Applied";
-const char kProtectorHistogramStartupSettingsChanged[] =
- "Protector.StartupSettings.Changed";
-const char kProtectorHistogramStartupSettingsDiscarded[] =
- "Protector.StartupSettings.Discarded";
-const char kProtectorHistogramStartupSettingsTimeout[] =
- "Protector.StartupSettings.Timeout";
-
-const char kProtectorHistogramHomepageApplied[] =
- "Protector.Homepage.Applied";
-const char kProtectorHistogramHomepageChanged[] =
- "Protector.Homepage.Changed";
-const char kProtectorHistogramHomepageDiscarded[] =
- "Protector.Homepage.Discarded";
-const char kProtectorHistogramHomepageTimeout[] =
- "Protector.Homepage.Timeout";
-
-const int kProtectorMaxSearchProviderID = SEARCH_ENGINE_MAX;
-
-int GetSearchProviderHistogramID(const TemplateURL* t_url) {
- return t_url ?
- TemplateURLPrepopulateData::GetEngineType(t_url->url()) :
- SEARCH_ENGINE_NONE;
-}
-
-} // namespace protector
« 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