OLD | NEW |
1 // Copyright 2014 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2014 The Chromium OS 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 JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ | 5 #ifndef JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ |
6 #define JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ | 6 #define JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 // Creates and sends messages to JavaScript. Messages are send asynchronously. | 10 // Creates and sends messages to JavaScript. Messages are send asynchronously. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 virtual void SendAddToArchiveDone(int compressor_id) = 0; | 62 virtual void SendAddToArchiveDone(int compressor_id) = 0; |
63 | 63 |
64 virtual void SendCloseArchiveDone(int compressor_id) = 0; | 64 virtual void SendCloseArchiveDone(int compressor_id) = 0; |
65 }; | 65 }; |
66 | 66 |
67 #define CONSOLE_LOG(fsid, rid, msg) \ | 67 #define CONSOLE_LOG(fsid, rid, msg) \ |
68 SendConsoleLog(fsid, rid, __FILE__, __LINE__, __func__, msg) | 68 SendConsoleLog(fsid, rid, __FILE__, __LINE__, __func__, msg) |
69 | 69 |
70 #endif // JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ | 70 #endif // JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ |
OLD | NEW |