Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index 9413042481a3d32fe2a645ad8ce4239f426e50c5..4cfd89a5372a7029ba21f6bee67fb7880d86de3a 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -60,6 +60,7 @@ |
#include "components/autofill/content/renderer/password_generation_agent.h" |
#include "components/content_settings/core/common/content_settings_pattern.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h" |
+#include "components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h" |
#include "components/dom_distiller/core/url_constants.h" |
#include "components/nacl/renderer/ppb_nacl_private.h" |
#include "components/nacl/renderer/ppb_nacl_private_impl.h" |
@@ -558,6 +559,9 @@ void ChromeContentRendererClient::RenderFrameCreated( |
new NetErrorHelper(render_frame); |
} |
+ // Set up a mojo service to test if this page is a distiller page. |
+ new dom_distiller::DistillerJsRenderFrameObserver(render_frame); |
nyquist
2015/07/27 21:44:33
When is this deleted?
mdjones
2015/07/28 20:53:41
This is managed by the RenderFrame object. All the
|
+ |
PasswordAutofillAgent* password_autofill_agent = |
new PasswordAutofillAgent(render_frame); |
PasswordGenerationAgent* password_generation_agent = |