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/prefs/pref_service.cc

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
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
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/pref_service.h" 5 #include "chrome/browser/prefs/pref_service.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/histogram.h" 14 #include "base/histogram.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 return pref_value_store_->PrefValueFromExtensionStore(name_.c_str()); 728 return pref_value_store_->PrefValueFromExtensionStore(name_.c_str());
729 } 729 }
730 730
731 bool PrefService::Preference::IsUserControlled() const { 731 bool PrefService::Preference::IsUserControlled() const {
732 return pref_value_store_->PrefValueFromUserStore(name_.c_str()); 732 return pref_value_store_->PrefValueFromUserStore(name_.c_str());
733 } 733 }
734 734
735 bool PrefService::Preference::IsUserModifiable() const { 735 bool PrefService::Preference::IsUserModifiable() const {
736 return pref_value_store_->PrefValueUserModifiable(name_.c_str()); 736 return pref_value_store_->PrefValueUserModifiable(name_.c_str());
737 } 737 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698