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 #include <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/environment.h" | 9 #include "base/environment.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "chrome/common/chrome_switches.h" | 23 #include "chrome/common/chrome_switches.h" |
24 #include "chrome/test/in_process_browser_test.h" | 24 #include "chrome/test/in_process_browser_test.h" |
25 #include "chrome/test/test_launcher_utils.h" | 25 #include "chrome/test/test_launcher_utils.h" |
26 #include "chrome/test/unit/chrome_test_suite.h" | 26 #include "chrome/test/unit/chrome_test_suite.h" |
27 #include "net/base/escape.h" | 27 #include "net/base/escape.h" |
28 #include "testing/gtest/include/gtest/gtest.h" | 28 #include "testing/gtest/include/gtest/gtest.h" |
29 | 29 |
30 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
31 #include "base/base_switches.h" | 31 #include "base/base_switches.h" |
32 #include "chrome/common/chrome_constants.h" | 32 #include "chrome/common/chrome_constants.h" |
33 #include "chrome/common/sandbox_policy.h" | 33 #include "content/common/sandbox_policy.h" |
34 #include "sandbox/src/dep.h" | 34 #include "sandbox/src/dep.h" |
35 #include "sandbox/src/sandbox_factory.h" | 35 #include "sandbox/src/sandbox_factory.h" |
36 #include "sandbox/src/sandbox_types.h" | 36 #include "sandbox/src/sandbox_types.h" |
37 #endif // defined(OS_WIN) | 37 #endif // defined(OS_WIN) |
38 | 38 |
39 #if defined(OS_MACOSX) | 39 #if defined(OS_MACOSX) |
40 #include "chrome/browser/chrome_browser_application_mac.h" | 40 #include "chrome/browser/chrome_browser_application_mac.h" |
41 #endif // defined(OS_MACOSX) | 41 #endif // defined(OS_MACOSX) |
42 | 42 |
43 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 exit_code = 1; | 642 exit_code = 1; |
643 break; | 643 break; |
644 } | 644 } |
645 | 645 |
646 // Special value "-1" means "repeat indefinitely". | 646 // Special value "-1" means "repeat indefinitely". |
647 if (cycles != -1) | 647 if (cycles != -1) |
648 cycles--; | 648 cycles--; |
649 } | 649 } |
650 return exit_code; | 650 return exit_code; |
651 } | 651 } |
OLD | NEW |