Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 87b367671c5376b2a05f60ca7bba999c502fadb4..44c7b771ff424f489fa2920f6fb4911b8917ecd3 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -38,6 +38,7 @@ |
#include "content/browser/geolocation/geolocation_dispatcher_host.h" |
#include "content/browser/host_zoom_map_impl.h" |
#include "content/browser/loader/resource_dispatcher_host_impl.h" |
+#include "content/browser/manifest/manifest_manager_host.h" |
#include "content/browser/media/audio_stream_monitor.h" |
#include "content/browser/media/midi_dispatcher_host.h" |
#include "content/browser/message_port_message_filter.h" |
@@ -1206,6 +1207,8 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) { |
screen_orientation_dispatcher_host_.reset( |
new ScreenOrientationDispatcherHostImpl(this)); |
+ manifest_manager_host_.reset(new ManifestManagerHost(this)); |
+ |
#if defined(OS_ANDROID) |
date_time_chooser_.reset(new DateTimeChooserAndroid()); |
#endif |
@@ -2414,6 +2417,10 @@ bool WebContentsImpl::WasRecentlyAudible() { |
return audio_stream_monitor_.WasRecentlyAudible(); |
} |
+void WebContentsImpl::GetManifest(const GetManifestCallback& callback) { |
+ manifest_manager_host_->GetManifest(GetMainFrame(), callback); |
+} |
+ |
bool WebContentsImpl::FocusLocationBarByDefault() { |
NavigationEntry* entry = controller_.GetVisibleEntry(); |
if (entry && entry->GetURL() == GURL(url::kAboutBlankURL)) |