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

Unified Diff: chrome/browser/ui/options/options_util.cc

Issue 9703115: Add DeviceSettingProvider unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments and removed the MetricsService changes from this CL. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/options/options_util.cc
diff --git a/chrome/browser/ui/options/options_util.cc b/chrome/browser/ui/options/options_util.cc
index 733d65e4ca75a16bf6df79071c14b97737f019ba..60c2bea6d4f5856052165019d975342d60f1c3bb 100644
--- a/chrome/browser/ui/options/options_util.cc
+++ b/chrome/browser/ui/options/options_util.cc
@@ -26,7 +26,6 @@ bool OptionsUtil::ResolveMetricsReportingEnabled(bool enabled) {
enabled = update_pref;
MetricsService* metrics = g_browser_process->metrics_service();
- DCHECK(metrics);
if (metrics) {
if (enabled)
metrics->Start();

Powered by Google App Engine
This is Rietveld 408576698