OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |