| 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 #ifndef CHROME_BROWSER_COMMAND_LINE_PREF_STORE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_COMMAND_LINE_PREF_STORE_H_ |
| 6 #define CHROME_BROWSER_COMMAND_LINE_PREF_STORE_H_ | 6 #define CHROME_BROWSER_PREFS_COMMAND_LINE_PREF_STORE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "chrome/common/pref_store.h" | 12 #include "chrome/common/pref_store.h" |
| 13 | 13 |
| 14 class DictionaryValue; | 14 class DictionaryValue; |
| 15 | 15 |
| 16 // This PrefStore keeps track of preferences set by command-line switches, | 16 // This PrefStore keeps track of preferences set by command-line switches, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 }; | 50 }; |
| 51 static const BooleanSwitchToPreferenceMapEntry boolean_switch_map_[]; | 51 static const BooleanSwitchToPreferenceMapEntry boolean_switch_map_[]; |
| 52 | 52 |
| 53 // Using the string and boolean maps, apply command-line switches to their | 53 // Using the string and boolean maps, apply command-line switches to their |
| 54 // corresponding preferences in this pref store. | 54 // corresponding preferences in this pref store. |
| 55 void ApplySimpleSwitches(); | 55 void ApplySimpleSwitches(); |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(CommandLinePrefStore); | 57 DISALLOW_COPY_AND_ASSIGN(CommandLinePrefStore); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 #endif // CHROME_BROWSER_COMMAND_LINE_PREF_STORE_H_ | 60 #endif // CHROME_BROWSER_PREFS_COMMAND_LINE_PREF_STORE_H_ |
| OLD | NEW |