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

Side by Side Diff: content/public/test/test_launcher.cc

Issue 10690058: Add sandbox support for Windows process mitigations (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 3 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
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698