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

Side by Side Diff: chrome/browser/domain_reliability/service_factory.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/domain_reliability/service_factory.h" 5 #include "chrome/browser/domain_reliability/service_factory.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 #include "build/build_config.h"
9 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" 10 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
10 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
11 #include "components/domain_reliability/service.h" 12 #include "components/domain_reliability/service.h"
12 #include "components/keyed_service/content/browser_context_dependency_manager.h" 13 #include "components/keyed_service/content/browser_context_dependency_manager.h"
13 #include "content/public/browser/browser_context.h" 14 #include "content/public/browser/browser_context.h"
14 15
15 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
16 #include "chrome/browser/chromeos/settings/cros_settings.h" 17 #include "chrome/browser/chromeos/settings/cros_settings.h"
17 #endif // defined(OS_CHROMEOS) 18 #endif // defined(OS_CHROMEOS)
18 19
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 return NULL; 76 return NULL;
76 // TODO(ttuttle): Move this check closer to where the data gets sent 77 // TODO(ttuttle): Move this check closer to where the data gets sent
77 // crbug.com/533486 78 // crbug.com/533486
78 if (!ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled()) 79 if (!ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled())
79 return NULL; 80 return NULL;
80 81
81 return DomainReliabilityService::Create(kUploadReporterString); 82 return DomainReliabilityService::Create(kUploadReporterString);
82 } 83 }
83 84
84 } // namespace domain_reliability 85 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « chrome/browser/domain_reliability/service_factory.h ('k') | chrome/browser/download/all_download_item_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698