Index: chromecast/browser/cast_content_window.h |
diff --git a/chromecast/browser/cast_content_window.h b/chromecast/browser/cast_content_window.h |
index 929f2a7e29d7466df2387e0d103b5b5bf7fd9f91..f2fa855c3e29c11e78540d7f9a9a21672d0f5376 100644 |
--- a/chromecast/browser/cast_content_window.h |
+++ b/chromecast/browser/cast_content_window.h |
@@ -11,7 +11,6 @@ |
#include "ui/events/event.h" |
namespace content { |
-class BrowserContext; |
class WebContents; |
} |
@@ -46,12 +45,6 @@ class CastContentWindow { |
// Creates a full-screen window for |web_contents| and display it. |
// |web_contents| should outlive this CastContentWindow. |
virtual void ShowWebContents(content::WebContents* web_contents) = 0; |
- |
- // Creates a WebContents. |
- // TODO(derekjchow): remove this function from this class, since it doesn't |
- // have anything to do with displaying web_contents. |
- virtual std::unique_ptr<content::WebContents> CreateWebContents( |
- content::BrowserContext* browser_context) = 0; |
}; |
} // namespace shell |