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 #include "content/public/test/test_launcher.h" | 5 #include "content/public/test/test_launcher.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "base/utf_string_conversions.h" | 24 #include "base/utf_string_conversions.h" |
25 #include "content/public/app/startup_helper_win.h" | 25 #include "content/public/app/startup_helper_win.h" |
26 #include "content/public/common/sandbox_init.h" | 26 #include "content/public/common/sandbox_init.h" |
27 #include "content/public/test/browser_test.h" | 27 #include "content/public/test/browser_test.h" |
28 #include "net/base/escape.h" | 28 #include "net/base/escape.h" |
29 #include "testing/gtest/include/gtest/gtest.h" | 29 #include "testing/gtest/include/gtest/gtest.h" |
30 | 30 |
31 #if defined(OS_WIN) | 31 #if defined(OS_WIN) |
32 #include "base/base_switches.h" | 32 #include "base/base_switches.h" |
33 #include "content/common/sandbox_policy.h" | 33 #include "content/common/sandbox_policy.h" |
34 #include "sandbox/win/src/dep.h" | |
35 #include "sandbox/win/src/sandbox_factory.h" | 34 #include "sandbox/win/src/sandbox_factory.h" |
36 #include "sandbox/win/src/sandbox_types.h" | 35 #include "sandbox/win/src/sandbox_types.h" |
37 #elif defined(OS_MACOSX) | 36 #elif defined(OS_MACOSX) |
38 #include "base/mac/scoped_nsautorelease_pool.h" | 37 #include "base/mac/scoped_nsautorelease_pool.h" |
39 #endif | 38 #endif |
40 | 39 |
41 namespace test_launcher { | 40 namespace test_launcher { |
42 | 41 |
43 namespace { | 42 namespace { |
44 | 43 |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 cycles--; | 742 cycles--; |
744 } | 743 } |
745 return exit_code; | 744 return exit_code; |
746 } | 745 } |
747 | 746 |
748 TestLauncherDelegate* GetCurrentTestLauncherDelegate() { | 747 TestLauncherDelegate* GetCurrentTestLauncherDelegate() { |
749 return g_launcher_delegate; | 748 return g_launcher_delegate; |
750 } | 749 } |
751 | 750 |
752 } // namespace test_launcher | 751 } // namespace test_launcher |
OLD | NEW |