Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: chrome/browser/prefs/dummy_pref_store.h

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, 3 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 #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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698