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

Side by Side Diff: components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/dom_distiller/content/renderer/distiller_js_render_frame_ob server.h" 5 #include "components/dom_distiller/content/renderer/distiller_js_render_frame_ob server.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "components/dom_distiller/content/common/distiller_page_notifier_servic e.mojom.h" 10 #include "components/dom_distiller/content/common/distiller_page_notifier_servic e.mojom.h"
11 #include "components/dom_distiller/content/renderer/distiller_page_notifier_serv ice_impl.h" 11 #include "components/dom_distiller/content/renderer/distiller_page_notifier_serv ice_impl.h"
12 #include "content/public/renderer/render_frame.h" 12 #include "content/public/renderer/render_frame.h"
13 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
14 #include "services/shell/public/cpp/interface_registry.h" 14 #include "services/service_manager/public/cpp/interface_registry.h"
15 #include "v8/include/v8.h" 15 #include "v8/include/v8.h"
16 16
17 namespace dom_distiller { 17 namespace dom_distiller {
18 18
19 DistillerJsRenderFrameObserver::DistillerJsRenderFrameObserver( 19 DistillerJsRenderFrameObserver::DistillerJsRenderFrameObserver(
20 content::RenderFrame* render_frame, 20 content::RenderFrame* render_frame,
21 const int distiller_isolated_world_id) 21 const int distiller_isolated_world_id)
22 : RenderFrameObserver(render_frame), 22 : RenderFrameObserver(render_frame),
23 distiller_isolated_world_id_(distiller_isolated_world_id), 23 distiller_isolated_world_id_(distiller_isolated_world_id),
24 is_distiller_page_(false), 24 is_distiller_page_(false),
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 void DistillerJsRenderFrameObserver::SetIsDistillerPage() { 68 void DistillerJsRenderFrameObserver::SetIsDistillerPage() {
69 is_distiller_page_ = true; 69 is_distiller_page_ = true;
70 } 70 }
71 71
72 void DistillerJsRenderFrameObserver::OnDestruct() { 72 void DistillerJsRenderFrameObserver::OnDestruct() {
73 delete this; 73 delete this;
74 } 74 }
75 75
76 } // namespace dom_distiller 76 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698