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

Unified Diff: content/renderer/fetchers/multi_resolution_image_resource_fetcher.h

Issue 2538853002: Media Remoting: Draw remoting interstitial on poster image. (Closed)
Patch Set: Addressed xhwang's comment. Created 4 years 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/renderer/fetchers/multi_resolution_image_resource_fetcher.h
diff --git a/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h b/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h
index 4325f8f04b3197e69bd44933e5638189605398b4..3593d1deb5d2776f87b9db657a7d704ee6367757 100644
--- a/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h
+++ b/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h
@@ -52,6 +52,9 @@ class MultiResolutionImageResourceFetcher {
// HTTP status code upon fetch completion.
int http_status_code() const { return http_status_code_; }
+ // Called when associated RenderFrame is destructed.
+ void OnRenderFrameDestruct();
+
private:
// ResourceFetcher::Callback. Decodes the image and invokes callback_.
void OnURLFetchComplete(const blink::WebURLResponse& response,

Powered by Google App Engine
This is Rietveld 408576698