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

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: Self-review fixes. 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..3e48ed7d21f409c0f57ed0a6793f82a0c4994077 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 list of the site instance URLs
Charlie Reis 2015/04/09 16:58:08 nit:s/site instance URLs/SiteInstance site URLs/ A
+ // 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