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 |
index 2b1ae8c0290a79a8e6974283a681b6a6d098c5ce..1e1ac4ed61a2dcd5626c6a1130335d9bda065a01 100644 |
--- a/content/browser/site_per_process_browsertest.h |
+++ b/content/browser/site_per_process_browsertest.h |
@@ -2,17 +2,25 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <string> |
+ |
#include "content/public/test/content_browser_test.h" |
#include "url/gurl.h" |
namespace content { |
+class FrameTreeNode; |
class Shell; |
class SitePerProcessBrowserTest : public ContentBrowserTest { |
public: |
SitePerProcessBrowserTest(); |
+ // Returns an alphabetically-sorted, newline-delimited list of the site |
+ // instance URLs in which RenderFrameProxyHosts of |node| currently exist. |
+ // TODO(nick): Make this a full-fledged tree walk. |
+ static std::string DumpProxyHostSiteInstances(FrameTreeNode* node); |
+ |
protected: |
// Start at a data URL so each extra navigation creates a navigation entry. |
// (The first navigation will silently be classified as AUTO_SUBFRAME.) |