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

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

Issue 10386221: Cleanup: Remove unneeded scoped_ptr.h includes from chrome/browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PREFS_TESTING_PREF_STORE_H_ 5 #ifndef CHROME_BROWSER_PREFS_TESTING_PREF_STORE_H_
6 #define CHROME_BROWSER_PREFS_TESTING_PREF_STORE_H_ 6 #define CHROME_BROWSER_PREFS_TESTING_PREF_STORE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/compiler_specific.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "chrome/browser/prefs/pref_value_map.h" 14 #include "chrome/browser/prefs/pref_value_map.h"
15 #include "chrome/common/persistent_pref_store.h" 15 #include "chrome/common/persistent_pref_store.h"
16 16
17 // |TestingPrefStore| is a preference store implementation that allows tests to 17 // |TestingPrefStore| is a preference store implementation that allows tests to
18 // explicitly manipulate the contents of the store, triggering notifications 18 // explicitly manipulate the contents of the store, triggering notifications
19 // where appropriate. 19 // where appropriate.
20 class TestingPrefStore : public PersistentPrefStore { 20 class TestingPrefStore : public PersistentPrefStore {
21 public: 21 public:
22 TestingPrefStore(); 22 TestingPrefStore();
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // Whether initialization has been completed. 80 // Whether initialization has been completed.
81 bool init_complete_; 81 bool init_complete_;
82 82
83 ObserverList<PrefStore::Observer, true> observers_; 83 ObserverList<PrefStore::Observer, true> observers_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(TestingPrefStore); 85 DISALLOW_COPY_AND_ASSIGN(TestingPrefStore);
86 }; 86 };
87 87
88 #endif // CHROME_BROWSER_PREFS_TESTING_PREF_STORE_H_ 88 #endif // CHROME_BROWSER_PREFS_TESTING_PREF_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/scoped_user_pref_update.h ('k') | chrome/browser/prefs/testing_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698