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

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

Issue 10907217: Revert 156550 - Add sandbox support for Windows process mitigations (Closed) Base URL: svn://svn.chromium.org/chrome/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 | Annotate | Revision Log
« no previous file with comments | « content/common/sandbox_policy.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/public/test/browser_test_base.h" 5 #include "content/public/test/browser_test_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "content/public/common/content_switches.h" 11 #include "content/public/common/content_switches.h"
12 #include "content/public/common/main_function_params.h" 12 #include "content/public/common/main_function_params.h"
13 #include "sandbox/win/src/dep.h"
13 14
14 #if defined(OS_MACOSX) 15 #if defined(OS_MACOSX)
15 #include "base/mac/mac_util.h" 16 #include "base/mac/mac_util.h"
16 #include "base/system_monitor/system_monitor.h" 17 #include "base/system_monitor/system_monitor.h"
17 #endif 18 #endif
18 19
19 extern int BrowserMain(const content::MainFunctionParams&); 20 extern int BrowserMain(const content::MainFunctionParams&);
20 21
21 namespace { 22 namespace {
22 23
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 87
87 void BrowserTestBase::CreateTestServer(const char* test_server_base) { 88 void BrowserTestBase::CreateTestServer(const char* test_server_base) {
88 CHECK(!test_server_.get()); 89 CHECK(!test_server_.get());
89 test_server_.reset(new net::TestServer( 90 test_server_.reset(new net::TestServer(
90 net::TestServer::TYPE_HTTP, 91 net::TestServer::TYPE_HTTP,
91 net::TestServer::kLocalhost, 92 net::TestServer::kLocalhost,
92 FilePath().AppendASCII(test_server_base))); 93 FilePath().AppendASCII(test_server_base)));
93 } 94 }
94 95
95 } // namespace content 96 } // namespace content
OLDNEW
« no previous file with comments | « content/common/sandbox_policy.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698