| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 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 | 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 "content/public/test/content_browser_test.h" | 5 #include "content/public/test/content_browser_test.h" |
| 6 #include "url/gurl.h" | 6 #include "url/gurl.h" |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 | 9 |
| 10 class Shell; | 10 class Shell; |
| 11 | 11 |
| 12 class SitePerProcessBrowserTest : public ContentBrowserTest { | 12 class SitePerProcessBrowserTest : public ContentBrowserTest { |
| 13 public: | 13 public: |
| 14 SitePerProcessBrowserTest(); | 14 SitePerProcessBrowserTest(); |
| 15 | 15 |
| 16 protected: | 16 protected: |
| 17 // Start at a data URL so each extra navigation creates a navigation entry. | 17 // Start at a data URL so each extra navigation creates a navigation entry. |
| 18 // (The first navigation will silently be classified as AUTO_SUBFRAME.) | 18 // (The first navigation will silently be classified as AUTO_SUBFRAME.) |
| 19 // TODO(creis): This won't be necessary when we can wait for LOAD_STOP. | 19 // TODO(creis): This won't be necessary when we can wait for LOAD_STOP. |
| 20 void StartFrameAtDataURL(); | 20 void StartFrameAtDataURL(); |
| 21 | 21 |
| 22 bool NavigateIframeToURL(Shell* window, | 22 bool NavigateIframeToURL(Shell* window, |
| 23 const GURL& url, | 23 const GURL& url, |
| 24 std::string iframe_id); | 24 std::string iframe_id); |
| 25 | 25 |
| 26 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; | 26 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 27 virtual void SetUpOnMainThread() OVERRIDE; | 27 virtual void SetUpOnMainThread() override; |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace content | 30 } // namespace content |
| OLD | NEW |