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_CONTROLLER_H_ | 5 #ifndef SYNC_JS_JS_CONTROLLER_H_ |
6 #define SYNC_JS_JS_CONTROLLER_H_ | 6 #define SYNC_JS_JS_CONTROLLER_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 23 matching lines...) Expand all Loading... |
41 const std::string& name, const JsArgList& args, | 40 const std::string& name, const JsArgList& args, |
42 const WeakHandle<JsReplyHandler>& reply_handler) = 0; | 41 const WeakHandle<JsReplyHandler>& reply_handler) = 0; |
43 | 42 |
44 protected: | 43 protected: |
45 virtual ~JsController() {} | 44 virtual ~JsController() {} |
46 }; | 45 }; |
47 | 46 |
48 } // namespace syncer | 47 } // namespace syncer |
49 | 48 |
50 #endif // SYNC_JS_JS_CONTROLLER_H_ | 49 #endif // SYNC_JS_JS_CONTROLLER_H_ |
OLD | NEW |