| 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_DUMMY_PREF_STORE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_DUMMY_PREF_STORE_H_ |
| 6 #define CHROME_BROWSER_DUMMY_PREF_STORE_H_ | 6 #define CHROME_BROWSER_PREFS_DUMMY_PREF_STORE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| 11 #include "chrome/common/pref_store.h" | 11 #include "chrome/common/pref_store.h" |
| 12 | 12 |
| 13 class DictionaryValue; | 13 class DictionaryValue; |
| 14 | 14 |
| 15 // |DummyPrefStore| is a stub implementation of the |PrefStore| interface. | 15 // |DummyPrefStore| is a stub implementation of the |PrefStore| interface. |
| 16 // It allows to get and set the state of the |PrefStore|. | 16 // It allows to get and set the state of the |PrefStore|. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 // Flag that indicates if the PrefStore is read-only | 41 // Flag that indicates if the PrefStore is read-only |
| 42 bool read_only_; | 42 bool read_only_; |
| 43 | 43 |
| 44 // Flag that indicates if the method WritePrefs was called. | 44 // Flag that indicates if the method WritePrefs was called. |
| 45 bool prefs_written_; | 45 bool prefs_written_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(DummyPrefStore); | 47 DISALLOW_COPY_AND_ASSIGN(DummyPrefStore); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 #endif // CHROME_BROWSER_DUMMY_PREF_STORE_H_ | 50 #endif // CHROME_BROWSER_PREFS_DUMMY_PREF_STORE_H_ |
| OLD | NEW |