Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: chrome/test/out_of_proc_test_runner.cc

Issue 7084010: Move sandbox_policy to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698