Home | History | Annotate | Download | only in test
      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 "extensions/shell/test/shell_test_launcher_delegate.h"
      6 
      7 #include "base/test/test_suite.h"
      8 #include "extensions/shell/app/shell_main_delegate.h"
      9 
     10 namespace extensions {
     11 
     12 int AppShellTestLauncherDelegate::RunTestSuite(int argc, char** argv) {
     13   return base::TestSuite(argc, argv).Run();
     14 }
     15 
     16 bool AppShellTestLauncherDelegate::AdjustChildProcessCommandLine(
     17     base::CommandLine* command_line,
     18     const base::FilePath& temp_data_dir) {
     19   return true;
     20 }
     21 
     22 content::ContentMainDelegate*
     23 AppShellTestLauncherDelegate::CreateContentMainDelegate() {
     24   return new ShellMainDelegate();
     25 }
     26 
     27 }  // namespace extensions
     28