Chromium Code Reviews| Index: chrome/browser/prefs/pref_service.h |
| =================================================================== |
| --- chrome/browser/prefs/pref_service.h (revision 118120) |
| +++ chrome/browser/prefs/pref_service.h (working copy) |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -17,6 +17,7 @@ |
| #include "base/values.h" |
| #include "chrome/common/json_pref_store.h" |
| +class CommandLine; |
| class DefaultPrefStore; |
| class FilePath; |
| class PersistentPrefStore; |
| @@ -52,7 +53,6 @@ |
| // A helper class to store all the information associated with a preference. |
| class Preference { |
| public: |
| - |
| // The type of the preference is determined by the type with which it is |
| // registered. This type needs to be a boolean, integer, double, string, |
| // dictionary (a branch), or list. You shouldn't need to construct this on |
| @@ -297,6 +297,9 @@ |
| // TODO(zea): Have PrefService implement SyncableService directly. |
| SyncableService* GetSyncableService(); |
| + // Tell our PrefValueStore to update itself using |command_line|. |
|
battre
2012/01/19 09:52:21
Please add a comment that you must not call this a
Lei Zhang
2012/01/19 20:33:59
Done.
|
| + void UpdateCommandLinePrefStore(CommandLine* command_line); |
| + |
| protected: |
| // Construct a new pref service. This constructor is what |
| // factory methods end up calling and what is used for unit tests. |