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

Unified Diff: content/test/web_contents_observer_sanity_checker.h

Issue 2842833003: Update SupportsUserData uses with unique_ptr. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « content/renderer/mojo_bindings_controller.cc ('k') | content/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/test/web_contents_observer_sanity_checker.h
diff --git a/content/test/web_contents_observer_sanity_checker.h b/content/test/web_contents_observer_sanity_checker.h
index 86fc9e9ec04a250ea9f928785827b7fa825fca46..f8f6a2ba6a86844d2e93e8ff60b53e6994309464 100644
--- a/content/test/web_contents_observer_sanity_checker.h
+++ b/content/test/web_contents_observer_sanity_checker.h
@@ -30,6 +30,8 @@ namespace content {
class WebContentsObserverSanityChecker : public WebContentsObserver,
public base::SupportsUserData::Data {
public:
+ ~WebContentsObserverSanityChecker() override;
+
// Enables these checks on |web_contents|. Usually ContentBrowserSanityChecker
// should call this for you.
static void Enable(WebContents* web_contents);
@@ -76,7 +78,6 @@ class WebContentsObserverSanityChecker : public WebContentsObserver,
private:
explicit WebContentsObserverSanityChecker(WebContents* web_contents);
- ~WebContentsObserverSanityChecker() override;
std::string Format(RenderFrameHost* render_frame_host);
void AssertRenderFrameExists(RenderFrameHost* render_frame_host);
« no previous file with comments | « content/renderer/mojo_bindings_controller.cc ('k') | content/test/web_contents_observer_sanity_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698