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

Side by Side Diff: content/test/content_test_launcher.cc

Issue 8414020: Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 "content/test/test_launcher.h" 5 #include "content/test/test_launcher.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/scoped_temp_dir.h" 11 #include "base/scoped_temp_dir.h"
12 #include "base/test/test_suite.h" 12 #include "base/test/test_suite.h"
13 #include "content/app/content_main.h" 13 #include "content/app/content_main.h"
14 #include "content/public/common/content_switches.h" 14 #include "content/public/common/content_switches.h"
15 #include "content/shell/shell_main_delegate.h" 15 #include "content/shell/shell_main_delegate.h"
16 16
17 #if defined(OS_WIN) 17 #if defined(OS_WIN)
18 #include "content/app/startup_helper_win.h" 18 #include "content/public/app/startup_helper_win.h"
19 #include "sandbox/src/sandbox_types.h" 19 #include "sandbox/src/sandbox_types.h"
20 #endif // defined(OS_WIN) 20 #endif // defined(OS_WIN)
21 21
22 class ContentTestLauncherDelegate : public test_launcher::TestLauncherDelegate { 22 class ContentTestLauncherDelegate : public test_launcher::TestLauncherDelegate {
23 public: 23 public:
24 ContentTestLauncherDelegate() { 24 ContentTestLauncherDelegate() {
25 } 25 }
26 26
27 virtual ~ContentTestLauncherDelegate() { 27 virtual ~ContentTestLauncherDelegate() {
28 } 28 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 private: 62 private:
63 DISALLOW_COPY_AND_ASSIGN(ContentTestLauncherDelegate); 63 DISALLOW_COPY_AND_ASSIGN(ContentTestLauncherDelegate);
64 }; 64 };
65 65
66 int main(int argc, char** argv) { 66 int main(int argc, char** argv) {
67 ContentTestLauncherDelegate launcher_delegate; 67 ContentTestLauncherDelegate launcher_delegate;
68 return test_launcher::LaunchTests(&launcher_delegate, argc, argv); 68 return test_launcher::LaunchTests(&launcher_delegate, argc, argv);
69 } 69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698