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

Side by Side Diff: chrome/browser/prefs/pref_metrics_service.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/prefs/pref_metrics_service.h" 5 #include "chrome/browser/prefs/pref_metrics_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram_macros.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/prefs/pref_service_syncable_util.h" 15 #include "chrome/browser/prefs/pref_service_syncable_util.h"
16 #include "chrome/browser/prefs/session_startup_pref.h" 16 #include "chrome/browser/prefs/session_startup_pref.h"
17 #include "chrome/browser/profiles/incognito_helpers.h" 17 #include "chrome/browser/profiles/incognito_helpers.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/search_engines/template_url_service_factory.h" 19 #include "chrome/browser/search_engines/template_url_service_factory.h"
20 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" 20 #include "chrome/browser/ui/tabs/pinned_tab_codec.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 } 272 }
273 273
274 bool PrefMetricsService::Factory::ServiceIsNULLWhileTesting() const { 274 bool PrefMetricsService::Factory::ServiceIsNULLWhileTesting() const {
275 return false; 275 return false;
276 } 276 }
277 277
278 content::BrowserContext* PrefMetricsService::Factory::GetBrowserContextToUse( 278 content::BrowserContext* PrefMetricsService::Factory::GetBrowserContextToUse(
279 content::BrowserContext* context) const { 279 content::BrowserContext* context) const {
280 return chrome::GetBrowserContextRedirectedInIncognito(context); 280 return chrome::GetBrowserContextRedirectedInIncognito(context);
281 } 281 }
OLDNEW
« no previous file with comments | « chrome/browser/predictors/resource_prefetch_predictor_tables.cc ('k') | chrome/browser/prefs/profile_pref_store_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698