Chromium Code Reviews| Index: content/browser/child_process_launcher_browsertest.cc |
| diff --git a/content/browser/child_process_launcher_browsertest.cc b/content/browser/child_process_launcher_browsertest.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..09d4d7e717cadd02eefd4a90fd25c5a0a08df04d |
| --- /dev/null |
| +++ b/content/browser/child_process_launcher_browsertest.cc |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
|
Charlie Reis
2014/10/02 21:27:24
nit: Copyright 2014
Hajime Morrita
2014/10/02 21:51:44
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "base/command_line.h" |
| +#include "content/public/common/content_switches.h" |
| +#include "content/public/test/content_browser_test.h" |
| +#include "content/public/test/content_browser_test_utils.h" |
| + |
| +namespace content { |
| + |
| +typedef ContentBrowserTest ChildProcessLauncherBrowserTest; |
| + |
| +class StatsTableBrowserTest : public ChildProcessLauncherBrowserTest { |
| + public: |
| + virtual void SetUpCommandLine(base::CommandLine* command_line) override { |
| + command_line->AppendSwitch(switches::kEnableStatsTable); |
| + } |
| +}; |
| + |
| +IN_PROC_BROWSER_TEST_F(StatsTableBrowserTest, StartWithStatTable) { |
| + NavigateToURL(shell(), GURL("about://blank")); |
|
Charlie Reis
2014/10/02 21:27:24
nit: about:blank
Hajime Morrita
2014/10/02 21:51:44
Done.
|
| +} |
| + |
| +} // namespace content |