Index: build/chrome/cackey-chrome-init.cc ================================================================== --- build/chrome/cackey-chrome-init.cc +++ build/chrome/cackey-chrome-init.cc @@ -1,8 +1,10 @@ /* - * Google's PCSC library requires us to write our module in C++ (thanks, Google) - * This library wraps the actual library, written in C. + * 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 #include #include @@ -128,19 +130,21 @@ * 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; } @@ -148,10 +152,11 @@ * 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; }