OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef SYNC_JS_JS_BACKEND_H_ | 5 #ifndef SYNC_JS_JS_BACKEND_H_ |
6 #define SYNC_JS_JS_BACKEND_H_ | 6 #define SYNC_JS_JS_BACKEND_H_ |
7 #pragma once | |
8 | 7 |
9 // See README.js for design comments. | 8 // See README.js for design comments. |
10 | 9 |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 namespace syncer { | 12 namespace syncer { |
14 | 13 |
15 class JsArgList; | 14 class JsArgList; |
16 class JsEventHandler; | 15 class JsEventHandler; |
17 class JsReplyHandler; | 16 class JsReplyHandler; |
(...skipping 14 matching lines...) Expand all Loading... |
32 const std::string& name, const JsArgList& args, | 31 const std::string& name, const JsArgList& args, |
33 const WeakHandle<JsReplyHandler>& reply_handler) = 0; | 32 const WeakHandle<JsReplyHandler>& reply_handler) = 0; |
34 | 33 |
35 protected: | 34 protected: |
36 virtual ~JsBackend() {} | 35 virtual ~JsBackend() {} |
37 }; | 36 }; |
38 | 37 |
39 } // namespace syncer | 38 } // namespace syncer |
40 | 39 |
41 #endif // SYNC_JS_JS_BACKEND_H_ | 40 #endif // SYNC_JS_JS_BACKEND_H_ |
OLD | NEW |