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