OLD | NEW |
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_SERVICE_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/scoped_temp_dir.h" | 14 #include "base/scoped_temp_dir.h" |
15 #include "chrome/browser/extensions/extension_service.h" | 15 #include "chrome/browser/extensions/extension_service.h" |
16 #include "content/test/test_browser_thread.h" | 16 #include "content/public/test/test_browser_thread.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
19 class TestingProfile; | 19 class TestingProfile; |
20 | 20 |
21 class ExtensionServiceTestBase : public testing::Test { | 21 class ExtensionServiceTestBase : public testing::Test { |
22 public: | 22 public: |
23 ExtensionServiceTestBase(); | 23 ExtensionServiceTestBase(); |
24 virtual ~ExtensionServiceTestBase(); | 24 virtual ~ExtensionServiceTestBase(); |
25 | 25 |
26 void InitializeExtensionService( | 26 void InitializeExtensionService( |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 size_t expected_extensions_count_; | 61 size_t expected_extensions_count_; |
62 content::TestBrowserThread ui_thread_; | 62 content::TestBrowserThread ui_thread_; |
63 content::TestBrowserThread db_thread_; | 63 content::TestBrowserThread db_thread_; |
64 content::TestBrowserThread webkit_thread_; | 64 content::TestBrowserThread webkit_thread_; |
65 content::TestBrowserThread file_thread_; | 65 content::TestBrowserThread file_thread_; |
66 content::TestBrowserThread file_user_blocking_thread_; | 66 content::TestBrowserThread file_user_blocking_thread_; |
67 content::TestBrowserThread io_thread_; | 67 content::TestBrowserThread io_thread_; |
68 }; | 68 }; |
69 | 69 |
70 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ | 70 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ |
OLD | NEW |