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

Side by Side Diff: components/dom_distiller/content/browser/distiller_javascript_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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/dom_distiller/content/browser/distiller_javascript_service_ impl.h"
6 #include "third_party/mojo/src/mojo/public/cpp/bindings/string.h"
7
8 namespace dom_distiller {
9
10 DistillerJavaScriptServiceImpl::DistillerJavaScriptServiceImpl(
11 mojo::InterfaceRequest<DistillerJavaScriptService> request)
12 : binding_(this, request.Pass()) {}
13
14 DistillerJavaScriptServiceImpl::~DistillerJavaScriptServiceImpl() {}
15
16 void DistillerJavaScriptServiceImpl::HandleDistillerEchoCall(
17 const mojo::String& message) {}
18
19 void CreateDistillerJavaScriptService(
20 mojo::InterfaceRequest<DistillerJavaScriptService> request) {
21 // This is strongly bound and owned by the pipe.
22 new DistillerJavaScriptServiceImpl(request.Pass());
23 }
24
25 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698