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. 4 5 #include "content/public/test/content_browser_test.h" 6 #include "url/gurl.h" 7 8 namespace content { 9 10 class Shell; 11 12 class SitePerProcessBrowserTest : public ContentBrowserTest { 13 public: 14 SitePerProcessBrowserTest(); 15 16 protected: 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.) 19 // TODO(creis): This won't be necessary when we can wait for LOAD_STOP. 20 void StartFrameAtDataURL(); 21 22 bool NavigateIframeToURL(Shell* window, 23 const GURL& url, 24 std::string iframe_id); 25 26 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; 27 }; 28 29 } // namespace content 30