morrita | 7fd88cd | 2014-10-02 22:48:58 | [diff] [blame] | 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 "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: |
dcheng | c2282aa | 2014-10-21 12:07:58 | [diff] [blame^] | 16 | void SetUpCommandLine(base::CommandLine* command_line) override { |
morrita | 7fd88cd | 2014-10-02 22:48:58 | [diff] [blame] | 17 | command_line->AppendSwitch(switches::kEnableStatsTable); |
| 18 | } |
| 19 | }; |
| 20 | |
| 21 | IN_PROC_BROWSER_TEST_F(StatsTableBrowserTest, StartWithStatTable) { |
| 22 | NavigateToURL(shell(), GURL("about:blank")); |
| 23 | } |
| 24 | |
| 25 | } // namespace content |