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

Side by Side Diff: content/browser/media/capture/web_contents_tracker.cc

Issue 257153003: We have a problem in the process on destroying WebContentsImpl because (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebased onto origin/master again, resolved conflicts Created 6 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/media/capture/web_contents_tracker.h" 5 #include "content/browser/media/capture/web_contents_tracker.h"
6 6
7 #include "base/message_loop/message_loop_proxy.h" 7 #include "base/message_loop/message_loop_proxy.h"
8 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
9 #include "content/public/browser/render_process_host.h" 9 #include "content/public/browser/render_process_host.h"
10 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 void WebContentsTracker::AboutToNavigateRenderView(RenderViewHost* rvh) { 89 void WebContentsTracker::AboutToNavigateRenderView(RenderViewHost* rvh) {
90 OnWebContentsChangeEvent(); 90 OnWebContentsChangeEvent();
91 } 91 }
92 92
93 void WebContentsTracker::DidNavigateMainFrame( 93 void WebContentsTracker::DidNavigateMainFrame(
94 const LoadCommittedDetails& details, const FrameNavigateParams& params) { 94 const LoadCommittedDetails& details, const FrameNavigateParams& params) {
95 OnWebContentsChangeEvent(); 95 OnWebContentsChangeEvent();
96 } 96 }
97 97
98 void WebContentsTracker::WebContentsDestroyed(WebContents* web_contents) { 98 void WebContentsTracker::WebContentsDestroyed() {
99 OnWebContentsChangeEvent(); 99 OnWebContentsChangeEvent();
100 } 100 }
101 101
102 } // namespace content 102 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698