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 b34f55c9edb9e37a8349a26317f054f8e799a196..199120968868bb27e7e9a7e6cf2bda1befd65a42 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/midi_dispatcher_host.h" |
#include "content/browser/message_port_message_filter.h" |
#include "content/browser/message_port_service.h" |
@@ -1184,6 +1185,8 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) { |
screen_orientation_dispatcher_host_.reset( |
new ScreenOrientationDispatcherHost(this)); |
+ manifest_manager_host_.reset(new ManifestManagerHost(this)); |
+ |
#if defined(OS_ANDROID) |
date_time_chooser_.reset(new DateTimeChooserAndroid()); |
#endif |
@@ -2388,6 +2391,10 @@ void WebContentsImpl::InsertCSS(const std::string& css) { |
GetMainFrame()->GetRoutingID(), css)); |
} |
+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)) |