Overview
Comment: | ChromeOS: Updated comments in the NaCl-to-JavaScript bridge |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
891997b79828f9d708586f114d60fd14 |
User & Date: | rkeene on 2016-02-12 16:16:33 |
Other Links: | manifest | tags |
Context
2016-02-13
| ||
07:19 | ChromeOS: Added start of PIN entry dialog check-in: 32182121df user: rkeene tags: trunk | |
2016-02-12
| ||
16:16 | ChromeOS: Updated comments in the NaCl-to-JavaScript bridge check-in: 891997b798 user: rkeene tags: trunk | |
05:26 | ChromeOS: Restructed the JavaScript portion of CACKey check-in: 2900ebd791 user: rkeene tags: trunk | |
Changes
Modified build/chrome/cackey-chrome-init.cc from [50a59eb73f] to [3317412933].
1 | /* | | > > | | 1 2 3 4 5 6 7 8 9 10 11 12 | /* * Google's PCSC library requires us to write our module in C++ to initialize * it. This component handles the initialization of our module and handles * incoming messages, passing them either to our library (cackey-chrome) or * to the PCSC-NaCl library from Google as appropriate. */ #include <thread> #include <ppapi/cpp/instance.h> #include <ppapi/cpp/module.h> #include <ppapi/cpp/core.h> #include <ppapi/cpp/var.h> |
︙ | ︙ | |||
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | /* * Verify that this message is destined for us */ if (!message->HasKey("target")) { delete message; pcscNaClHandleMessage(messagePlain); return; } target = message->Get("target"); if (target.AsString() != "cackey") { delete message; pcscNaClHandleMessage(messagePlain); return; } /* * Determine what we are being asked to do */ if (!message->HasKey("command")) { delete message; pcscNaClHandleMessage(messagePlain); return; } /* * Process the request in another thread | > > > | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | /* * Verify that this message is destined for us */ if (!message->HasKey("target")) { delete message; /* We don't handle this message, see if PCSC-NaCl does */ pcscNaClHandleMessage(messagePlain); return; } target = message->Get("target"); if (target.AsString() != "cackey") { delete message; /* We don't handle this message, see if PCSC-NaCl does */ pcscNaClHandleMessage(messagePlain); return; } /* * Determine what we are being asked to do */ if (!message->HasKey("command")) { delete message; /* We don't handle this message, see if PCSC-NaCl does */ pcscNaClHandleMessage(messagePlain); return; } /* * Process the request in another thread |
︙ | ︙ |