1 // Copyright (c) 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.
5 #ifndef CONTENT_BROWSER_SITE_PER_PROCESS_BROWSERTEST_H_
6 #define CONTENT_BROWSER_SITE_PER_PROCESS_BROWSERTEST_H_
10 #include "content/public/test/content_browser_test.h"
11 #include "content/test/content_browser_test_utils_internal.h"
19 class SitePerProcessBrowserTest
: public ContentBrowserTest
{
21 SitePerProcessBrowserTest();
24 // Start at a data URL so each extra navigation creates a navigation entry.
25 // (The first navigation will silently be classified as AUTO_SUBFRAME.)
26 // TODO(creis): This won't be necessary when we can wait for LOAD_STOP.
27 void StartFrameAtDataURL();
29 std::string
DepictFrameTree(FrameTreeNode
* node
);
31 void SetUpCommandLine(base::CommandLine
* command_line
) override
;
32 void SetUpOnMainThread() override
;
35 FrameTreeVisualizer visualizer_
;
38 } // namespace content
40 #endif // CONTENT_BROWSER_SITE_PER_PROCESS_BROWSERTEST_H_