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_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ | 5 #ifndef CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ |
6 #define CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ | 6 #define CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <atlbase.h> | 10 #include <atlbase.h> |
11 #include <atlwin.h> | 11 #include <atlwin.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/cancelable_callback.h" | 16 #include "base/cancelable_callback.h" |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
20 #include "base/message_loop.h" | 20 #include "base/message_loop.h" |
21 #include "base/process_util.h" | 21 #include "base/process_util.h" |
22 #include "base/run_loop.h" | 22 #include "base/run_loop.h" |
23 #include "base/test/test_reg_util_win.h" | 23 #include "base/test/test_reg_util_win.h" |
24 #include "base/time.h" | 24 #include "base/time/time.h" |
25 #include "base/time.h" | 25 #include "base/time/time.h" |
26 #include "base/win/registry.h" | 26 #include "base/win/registry.h" |
27 #include "base/win/scoped_comptr.h" | 27 #include "base/win/scoped_comptr.h" |
28 #include "chrome_frame/chrome_tab.h" | 28 #include "chrome_frame/chrome_tab.h" |
29 #include "chrome_frame/test/simulate_input.h" | 29 #include "chrome_frame/test/simulate_input.h" |
30 #include "chrome_frame/test_utils.h" | 30 #include "chrome_frame/test_utils.h" |
31 #include "chrome_frame/utils.h" | 31 #include "chrome_frame/utils.h" |
32 | 32 |
33 #include "gtest/gtest.h" | 33 #include "gtest/gtest.h" |
34 | 34 |
35 // Needed for CreateFunctor. | 35 // Needed for CreateFunctor. |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 } // namespace chrome_frame_test | 365 } // namespace chrome_frame_test |
366 | 366 |
367 // TODO(tommi): This is a temporary workaround while we're getting our | 367 // TODO(tommi): This is a temporary workaround while we're getting our |
368 // Singleton story straight. Ideally each test should clear up any singletons | 368 // Singleton story straight. Ideally each test should clear up any singletons |
369 // it might have created, but test cases do not implicitly have their own | 369 // it might have created, but test cases do not implicitly have their own |
370 // AtExitManager, so we have this workaround method for tests that depend on | 370 // AtExitManager, so we have this workaround method for tests that depend on |
371 // "fresh" singletons. The implementation is in chrome_frame_unittest_main.cc. | 371 // "fresh" singletons. The implementation is in chrome_frame_unittest_main.cc. |
372 void DeleteAllSingletons(); | 372 void DeleteAllSingletons(); |
373 | 373 |
374 #endif // CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ | 374 #endif // CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ |
OLD | NEW |