OLD | NEW |
---|---|
(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 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_JAVASCRIPT_SERVICE_IM PL_H_ | |
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_JAVASCRIPT_SERVICE_IM PL_H_ | |
7 | |
8 #include "components/dom_distiller/content/common/distiller_javascript_service.m ojom.h" | |
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/string.h" | |
10 | |
11 namespace dom_distiller { | |
12 | |
13 // This is the receiving end of "distiller" JavaScript object calls. | |
14 class DistillerJavaScriptServiceImpl | |
15 : public mojo::InterfaceImpl<DistillerJavaScriptService> { | |
16 public: | |
17 DistillerJavaScriptServiceImpl(); | |
18 void HandleDistillerEchoCall(const mojo::String& message) override; | |
nyquist
2015/08/19 10:59:54
Could you add a comment about what this implements
mdjones
2015/08/19 20:25:19
Done.
| |
19 ~DistillerJavaScriptServiceImpl() override; | |
nyquist
2015/08/19 10:59:54
Move after constructor.
mdjones
2015/08/19 20:25:19
Done.
| |
20 }; | |
21 | |
22 // static | |
23 void CreateDistillerJavaScriptService( | |
24 mojo::InterfaceRequest<DistillerJavaScriptService> request); | |
25 | |
26 } // namespace dom_distiller | |
27 | |
28 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_JAVASCRIPT_SERVICE _IMPL_H_ | |
OLD | NEW |