| OLD | NEW |
| 1 // Copyright 2014 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2014 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 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. |
| 11 class JavaScriptMessageSenderInterface { | 11 class JavaScriptMessageSenderInterface { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 virtual void SendAddToArchiveDone(int compressor_id) = 0; | 63 virtual void SendAddToArchiveDone(int compressor_id) = 0; |
| 64 | 64 |
| 65 virtual void SendCloseArchiveDone(int compressor_id) = 0; | 65 virtual void SendCloseArchiveDone(int compressor_id) = 0; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 #define CONSOLE_LOG(fsid, rid, msg) \ | 68 #define CONSOLE_LOG(fsid, rid, msg) \ |
| 69 SendConsoleLog(fsid, rid, __FILE__, __LINE__, __func__, msg) | 69 SendConsoleLog(fsid, rid, __FILE__, __LINE__, __func__, msg) |
| 70 | 70 |
| 71 #endif // JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ | 71 #endif // JAVASCRIPT_MESSAGE_SENDER_INTERFACE_H_ |
| OLD | NEW |