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

Unified Diff: content/public/test/web_contents_observer_sanity_checker.h

Issue 921443003: Fix RenderFrameCreated and RenderFrameDeleted WebContentsObserver methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete pending callbacks in ManifestManagerHost destructor. Created 5 years, 10 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
« no previous file with comments | « content/public/browser/web_contents.cc ('k') | content/public/test/web_contents_observer_sanity_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/web_contents_observer_sanity_checker.h
diff --git a/content/public/test/web_contents_observer_sanity_checker.h b/content/public/test/web_contents_observer_sanity_checker.h
index 2d702d0859e34184f694cf7fd666279e6be5fc3d..b8c3b6118ce65844fc4f50ea3abc82387c562489 100644
--- a/content/public/test/web_contents_observer_sanity_checker.h
+++ b/content/public/test/web_contents_observer_sanity_checker.h
@@ -84,11 +84,12 @@ class WebContentsObserverSanityChecker : public WebContentsObserver,
~WebContentsObserverSanityChecker() override;
std::string Format(RenderFrameHost* render_frame_host);
- void AssertFrameExists(RenderFrameHost* render_frame_host);
+ void AssertRenderFrameExists(RenderFrameHost* render_frame_host);
void AssertMainFrameExists();
std::set<std::pair<int, int>> live_routes_;
std::set<std::pair<int, int>> deleted_routes_;
+
bool web_contents_destroyed_;
DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker);
« no previous file with comments | « content/public/browser/web_contents.cc ('k') | content/public/test/web_contents_observer_sanity_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698