OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SETTINGS_SETTINGS_STORAGE_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_STORAGE_UNITTEST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_STORAGE_UNITTEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_STORAGE_UNITTEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
11 #include "base/bind.h" | |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
15 #include "base/scoped_temp_dir.h" | 14 #include "base/scoped_temp_dir.h" |
16 #include "base/task.h" | 15 #include "base/task.h" |
17 #include "chrome/browser/extensions/settings/settings_backend.h" | 16 #include "chrome/browser/extensions/settings/settings_backend.h" |
18 #include "chrome/browser/extensions/settings/settings_frontend.h" | 17 #include "chrome/browser/extensions/settings/settings_frontend.h" |
19 #include "chrome/test/base/testing_profile.h" | 18 #include "chrome/test/base/testing_profile.h" |
20 #include "content/test/test_browser_thread.h" | 19 #include "content/test/test_browser_thread.h" |
21 | 20 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 74 |
76 // Need these so that the DCHECKs for running on FILE or UI threads pass. | 75 // Need these so that the DCHECKs for running on FILE or UI threads pass. |
77 MessageLoop message_loop_; | 76 MessageLoop message_loop_; |
78 content::TestBrowserThread ui_thread_; | 77 content::TestBrowserThread ui_thread_; |
79 content::TestBrowserThread file_thread_; | 78 content::TestBrowserThread file_thread_; |
80 }; | 79 }; |
81 | 80 |
82 } // namespace extensions | 81 } // namespace extensions |
83 | 82 |
84 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_STORAGE_UNITTEST_H_ | 83 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_STORAGE_UNITTEST_H_ |
OLD | NEW |