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

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

Issue 3143009: Reenabled ChromeOS system setting for timezone selection.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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/cros_settings_provider_user.h" 5 #include "chrome/browser/chromeos/cros_settings_provider_user.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_names.h" 9 #include "chrome/browser/chromeos/cros_settings_names.h"
10 10
(...skipping 25 matching lines...) Expand all
36 void UserCrosSettingsProvider::Set(const std::string& path, Value* in_value) { 36 void UserCrosSettingsProvider::Set(const std::string& path, Value* in_value) {
37 dict_->Set(path, in_value); 37 dict_->Set(path, in_value);
38 } 38 }
39 39
40 bool UserCrosSettingsProvider::Get(const std::string& path, 40 bool UserCrosSettingsProvider::Get(const std::string& path,
41 Value** out_value) const { 41 Value** out_value) const {
42 return dict_->Get(path, out_value); 42 return dict_->Get(path, out_value);
43 } 43 }
44 44
45 bool UserCrosSettingsProvider::HandlesSetting(const std::string& path) { 45 bool UserCrosSettingsProvider::HandlesSetting(const std::string& path) {
46 return ::StartsWithASCII(path, "cros.accounts", true); 46 return ::StartsWithASCII(path, "cros.accounts.", true);
47 } 47 }
48 48
49 } // namespace chromeos 49 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698