| Index: content/browser/site_per_process_browsertest.h
|
| diff --git a/content/browser/site_per_process_browsertest.h b/content/browser/site_per_process_browsertest.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a596019efbe69f256674720803cfe5aafe272e10
|
| --- /dev/null
|
| +++ b/content/browser/site_per_process_browsertest.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/public/test/content_browser_test.h"
|
| +#include "url/gurl.h"
|
| +
|
| +namespace content {
|
| +
|
| +class Shell;
|
| +
|
| +class SitePerProcessBrowserTest : public ContentBrowserTest {
|
| + public:
|
| + SitePerProcessBrowserTest();
|
| +
|
| + protected:
|
| + // Start at a data URL so each extra navigation creates a navigation entry.
|
| + // (The first navigation will silently be classified as AUTO_SUBFRAME.)
|
| + // TODO(creis): This won't be necessary when we can wait for LOAD_STOP.
|
| + void StartFrameAtDataURL();
|
| +
|
| + bool NavigateIframeToURL(Shell* window,
|
| + const GURL& url,
|
| + std::string iframe_id);
|
| +
|
| + virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
|
| +};
|
| +
|
| +} // namespace content
|
|
|