Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // 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.
| |
| 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 "base/command_line.h" | |
| 6 #include "content/public/common/content_switches.h" | |
| 7 #include "content/public/test/content_browser_test.h" | |
| 8 #include "content/public/test/content_browser_test_utils.h" | |
| 9 | |
| 10 namespace content { | |
| 11 | |
| 12 typedef ContentBrowserTest ChildProcessLauncherBrowserTest; | |
| 13 | |
| 14 class StatsTableBrowserTest : public ChildProcessLauncherBrowserTest { | |
| 15 public: | |
| 16 virtual void SetUpCommandLine(base::CommandLine* command_line) override { | |
| 17 command_line->AppendSwitch(switches::kEnableStatsTable); | |
| 18 } | |
| 19 }; | |
| 20 | |
| 21 IN_PROC_BROWSER_TEST_F(StatsTableBrowserTest, StartWithStatTable) { | |
| 22 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.
| |
| 23 } | |
| 24 | |
| 25 } // namespace content | |
| OLD | NEW |