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_TEST_UTIL_H_ | 5 #ifndef SYNC_JS_JS_TEST_UTIL_H_ |
6 #define SYNC_JS_JS_TEST_UTIL_H_ | 6 #define SYNC_JS_JS_TEST_UTIL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <ostream> | 8 #include <ostream> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
13 #include "sync/internal_api/public/util/weak_handle.h" | 12 #include "sync/internal_api/public/util/weak_handle.h" |
14 #include "sync/js/js_backend.h" | 13 #include "sync/js/js_backend.h" |
15 #include "sync/js/js_controller.h" | 14 #include "sync/js/js_controller.h" |
16 #include "sync/js/js_event_handler.h" | 15 #include "sync/js/js_event_handler.h" |
17 #include "sync/js/js_reply_handler.h" | 16 #include "sync/js/js_reply_handler.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 99 |
101 WeakHandle<JsReplyHandler> AsWeakHandle(); | 100 WeakHandle<JsReplyHandler> AsWeakHandle(); |
102 | 101 |
103 MOCK_METHOD2(HandleJsReply, | 102 MOCK_METHOD2(HandleJsReply, |
104 void(const ::std::string&, const JsArgList&)); | 103 void(const ::std::string&, const JsArgList&)); |
105 }; | 104 }; |
106 | 105 |
107 } // namespace syncer | 106 } // namespace syncer |
108 | 107 |
109 #endif // SYNC_JS_JS_TEST_UTIL_H_ | 108 #endif // SYNC_JS_JS_TEST_UTIL_H_ |
OLD | NEW |