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

Side by Side Diff: chrome/browser/extensions/extension_prefs_unittest.h

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_
7 7
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "chrome/browser/extensions/test_extension_prefs.h" 9 #include "chrome/browser/extensions/test_extension_prefs.h"
10 #include "content/public/test/test_browser_thread.h" 10 #include "content/public/test/test_browser_thread.h"
(...skipping 26 matching lines...) Expand all
37 37
38 virtual void SetUp() OVERRIDE; 38 virtual void SetUp() OVERRIDE;
39 39
40 virtual void TearDown() OVERRIDE; 40 virtual void TearDown() OVERRIDE;
41 41
42 protected: 42 protected:
43 ExtensionPrefs* prefs() { return prefs_.prefs(); } 43 ExtensionPrefs* prefs() { return prefs_.prefs(); }
44 44
45 MessageLoop message_loop_; 45 MessageLoop message_loop_;
46 content::TestBrowserThread ui_thread_; 46 content::TestBrowserThread ui_thread_;
47 content::TestBrowserThread file_thread_;
48 47
49 TestExtensionPrefs prefs_; 48 TestExtensionPrefs prefs_;
50 49
51 private: 50 private:
52 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefsTest); 51 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefsTest);
53 }; 52 };
54 53
55 class ExtensionPrefsPrepopulatedTest : public ExtensionPrefsTest { 54 class ExtensionPrefsPrepopulatedTest : public ExtensionPrefsTest {
56 public: 55 public:
57 ExtensionPrefsPrepopulatedTest(); 56 ExtensionPrefsPrepopulatedTest();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 91
93 scoped_refptr<Extension> ext1_scoped_; 92 scoped_refptr<Extension> ext1_scoped_;
94 scoped_refptr<Extension> ext2_scoped_; 93 scoped_refptr<Extension> ext2_scoped_;
95 scoped_refptr<Extension> ext3_scoped_; 94 scoped_refptr<Extension> ext3_scoped_;
96 scoped_refptr<Extension> ext4_scoped_; 95 scoped_refptr<Extension> ext4_scoped_;
97 }; 96 };
98 97
99 } // namespace extensions 98 } // namespace extensions
100 99
101 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ 100 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698