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

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

Issue 1851213002: Remove sandbox on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nacl compile issues Created 4 years, 8 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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 24 matching lines...) Expand all
35 #include "content/public/app/content_main.h" 35 #include "content/public/app/content_main.h"
36 #include "content/public/app/content_main_delegate.h" 36 #include "content/public/app/content_main_delegate.h"
37 #include "content/public/common/content_switches.h" 37 #include "content/public/common/content_switches.h"
38 #include "content/public/common/sandbox_init.h" 38 #include "content/public/common/sandbox_init.h"
39 #include "content/public/test/browser_test.h" 39 #include "content/public/test/browser_test.h"
40 #include "net/base/escape.h" 40 #include "net/base/escape.h"
41 #include "testing/gtest/include/gtest/gtest.h" 41 #include "testing/gtest/include/gtest/gtest.h"
42 42
43 #if defined(OS_WIN) 43 #if defined(OS_WIN)
44 #include "base/base_switches.h" 44 #include "base/base_switches.h"
45 #include "content/common/sandbox_win.h"
46 #include "content/public/app/sandbox_helper_win.h"
47 #include "sandbox/win/src/sandbox_factory.h"
48 #include "sandbox/win/src/sandbox_types.h"
49 #elif defined(OS_MACOSX) 45 #elif defined(OS_MACOSX)
50 #include "base/mac/scoped_nsautorelease_pool.h" 46 #include "base/mac/scoped_nsautorelease_pool.h"
51 #endif 47 #endif
52 48
53 namespace content { 49 namespace content {
54 50
55 namespace { 51 namespace {
56 52
57 // Tests with this prefix run before the same test without it, and use the same 53 // Tests with this prefix run before the same test without it, and use the same
58 // profile. i.e. Foo.PRE_Test runs and then Foo.Test. This allows writing tests 54 // profile. i.e. Foo.PRE_Test runs and then Foo.Test. This allows writing tests
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 546
551 TestLauncherDelegate* GetCurrentTestLauncherDelegate() { 547 TestLauncherDelegate* GetCurrentTestLauncherDelegate() {
552 return g_launcher_delegate; 548 return g_launcher_delegate;
553 } 549 }
554 550
555 ContentMainParams* GetContentMainParams() { 551 ContentMainParams* GetContentMainParams() {
556 return g_params; 552 return g_params;
557 } 553 }
558 554
559 } // namespace content 555 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/sandbox_init.h ('k') | content/renderer/renderer_main_platform_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698