Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "apps/test/apps_test_launcher_delegate.h" | |
| 6 | |
| 7 #include "apps/shell/app/shell_main_delegate.h" | |
| 8 #include "apps/test/apps_test_suite_base.h" | |
| 9 #include "base/command_line.h" | |
| 10 #include "content/public/app/content_main_delegate.h" | |
|
jam
2014/03/20 16:58:13
nit: not needd. also the previous include i think
Yoyo Zhou
2014/03/20 21:17:30
Done.
| |
| 11 | |
| 12 namespace apps { | |
| 13 | |
| 14 int AppsTestLauncherDelegate::RunTestSuite(int argc, char** argv) { | |
| 15 return AppsTestSuiteBase(argc, argv).Run(); | |
|
jam
2014/03/20 16:58:13
just call content::ContentTestSuiteBase(argc, argv
Yoyo Zhou
2014/03/20 21:17:30
Why is ContentTestSuiteBase's constructor protecte
jam
2014/03/20 23:43:22
I think because before, you always needed to deriv
| |
| 16 } | |
| 17 | |
| 18 bool AppsTestLauncherDelegate::AdjustChildProcessCommandLine( | |
| 19 base::CommandLine* command_line, | |
| 20 const base::FilePath& temp_data_dir) { | |
| 21 return true; | |
| 22 } | |
| 23 | |
| 24 content::ContentMainDelegate* | |
| 25 AppsTestLauncherDelegate::CreateContentMainDelegate() { | |
| 26 return new ShellMainDelegate(); | |
| 27 } | |
| 28 | |
| 29 } // namespace apps | |
| OLD | NEW |