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

Unified Diff: components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc

Issue 1336433002: Revert of Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc
diff --git a/components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc b/components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc
deleted file mode 100644
index 7ff1e72120247a328dcc71bc887ad77230b40b8b..0000000000000000000000000000000000000000
--- a/components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.h"
-
-#include "components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h"
-#include "components/dom_distiller/content/renderer/distiller_native_javascript.h"
-
-namespace dom_distiller {
-
-DistillerPageNotifierServiceImpl::DistillerPageNotifierServiceImpl(
- DistillerJsRenderFrameObserver* observer,
- mojo::InterfaceRequest<DistillerPageNotifierService> request)
- : binding_(this, request.Pass()),
- distiller_js_observer_(observer) {}
-
-void DistillerPageNotifierServiceImpl::NotifyIsDistillerPage() {
- // TODO(mdjones): Send some form of unique ID so this call knows
- // which tab it should respond to..
- distiller_js_observer_->SetIsDistillerPage();
-}
-
-DistillerPageNotifierServiceImpl::~DistillerPageNotifierServiceImpl() {}
-
-} // namespace dom_distiller

Powered by Google App Engine
This is Rietveld 408576698