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

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

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 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/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/chromeos/cros_settings.h" 9 #include "chrome/browser/chromeos/cros_settings.h"
10 #include "chrome/browser/chromeos/cros_settings_names.h" 10 #include "chrome/browser/chromeos/cros_settings_names.h"
11 #include "chrome/browser/chromeos/login/user_manager.h" 11 #include "chrome/browser/chromeos/login/user_manager.h"
12 #include "chrome/browser/options_util.h" 12 #include "chrome/browser/ui/options/options_util.h"
13 #include "chrome/installer/util/google_update_settings.h" 13 #include "chrome/installer/util/google_update_settings.h"
14 14
15 #if defined(USE_LINUX_BREAKPAD) 15 #if defined(USE_LINUX_BREAKPAD)
16 #include "chrome/app/breakpad_linux.h" 16 #include "chrome/app/breakpad_linux.h"
17 #endif 17 #endif
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 void MetricsCrosSettingsProvider::DoSet(const std::string& path, 21 void MetricsCrosSettingsProvider::DoSet(const std::string& path,
22 Value* value) { 22 Value* value) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // static 63 // static
64 bool MetricsCrosSettingsProvider::GetMetricsStatus() { 64 bool MetricsCrosSettingsProvider::GetMetricsStatus() {
65 return GoogleUpdateSettings::GetCollectStatsConsent(); 65 return GoogleUpdateSettings::GetCollectStatsConsent();
66 } 66 }
67 67
68 bool MetricsCrosSettingsProvider::HandlesSetting(const std::string& path) { 68 bool MetricsCrosSettingsProvider::HandlesSetting(const std::string& path) {
69 return ::StartsWithASCII(path, kStatsReportingPref, true); 69 return ::StartsWithASCII(path, kStatsReportingPref, true);
70 } 70 }
71 71
72 }; // namespace chromeos 72 }; // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/browser_uitest.cc ('k') | chrome/browser/chromeos/options/options_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698