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

Side by Side Diff: chrome/browser/chromeos/metrics_cros_settings_provider.cc

Issue 7518012: Revert 94350 - Merge 94322 - Rewire the metrics pref to the signed settings store on chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/src/
Patch Set: Created 9 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/chromeos/metrics_cros_settings_provider.h" 5 #include "chrome/browser/chromeos/metrics_cros_settings_provider.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/threading/thread_restrictions.h" 8 #include "base/threading/thread_restrictions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/chromeos/cros_settings.h" 10 #include "chrome/browser/chromeos/cros_settings.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Temporarily allow it until we fix http://crbug.com/62626 74 // Temporarily allow it until we fix http://crbug.com/62626
75 base::ThreadRestrictions::ScopedAllowIO allow_io; 75 base::ThreadRestrictions::ScopedAllowIO allow_io;
76 return GoogleUpdateSettings::GetCollectStatsConsent(); 76 return GoogleUpdateSettings::GetCollectStatsConsent();
77 } 77 }
78 78
79 bool MetricsCrosSettingsProvider::HandlesSetting(const std::string& path) { 79 bool MetricsCrosSettingsProvider::HandlesSetting(const std::string& path) {
80 return ::StartsWithASCII(path, kStatsReportingPref, true); 80 return ::StartsWithASCII(path, kStatsReportingPref, true);
81 } 81 }
82 82
83 }; // namespace chromeos 83 }; // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/metrics_cros_settings_provider.h ('k') | chrome/browser/chromeos/user_cros_settings_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698