| 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 16 matching lines...) Expand all Loading... |
| 27 #include "content/public/app/startup_helper_win.h" | 27 #include "content/public/app/startup_helper_win.h" |
| 28 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
| 29 #include "content/public/common/sandbox_init.h" | 29 #include "content/public/common/sandbox_init.h" |
| 30 #include "content/public/test/browser_test.h" | 30 #include "content/public/test/browser_test.h" |
| 31 #include "net/base/escape.h" | 31 #include "net/base/escape.h" |
| 32 #include "testing/gtest/include/gtest/gtest.h" | 32 #include "testing/gtest/include/gtest/gtest.h" |
| 33 | 33 |
| 34 #if defined(OS_WIN) | 34 #if defined(OS_WIN) |
| 35 #include "base/base_switches.h" | 35 #include "base/base_switches.h" |
| 36 #include "content/common/sandbox_policy.h" | 36 #include "content/common/sandbox_policy.h" |
| 37 #include "sandbox/win/src/dep.h" | |
| 38 #include "sandbox/win/src/sandbox_factory.h" | 37 #include "sandbox/win/src/sandbox_factory.h" |
| 39 #include "sandbox/win/src/sandbox_types.h" | 38 #include "sandbox/win/src/sandbox_types.h" |
| 40 #elif defined(OS_MACOSX) | 39 #elif defined(OS_MACOSX) |
| 41 #include "base/mac/scoped_nsautorelease_pool.h" | 40 #include "base/mac/scoped_nsautorelease_pool.h" |
| 42 #endif | 41 #endif |
| 43 | 42 |
| 44 namespace test_launcher { | 43 namespace test_launcher { |
| 45 | 44 |
| 46 namespace { | 45 namespace { |
| 47 | 46 |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 cycles--; | 775 cycles--; |
| 777 } | 776 } |
| 778 return exit_code; | 777 return exit_code; |
| 779 } | 778 } |
| 780 | 779 |
| 781 TestLauncherDelegate* GetCurrentTestLauncherDelegate() { | 780 TestLauncherDelegate* GetCurrentTestLauncherDelegate() { |
| 782 return g_launcher_delegate; | 781 return g_launcher_delegate; |
| 783 } | 782 } |
| 784 | 783 |
| 785 } // namespace test_launcher | 784 } // namespace test_launcher |
| OLD | NEW |