Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1682)

Unified Diff: content/browser/site_per_process_browsertest.h

Issue 1074843002: Fix RenderFrameProxyHost leak. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lucasfix
Patch Set: Add comment suggested by Charlie Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.)
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager.cc ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698