| Index: visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp
|
| diff --git a/visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp b/visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp
|
| index 2258175ea09e97fc06480f8eec4d6244d5fcc418..b3964d8924246dd13c1cf967ffbad635e97139ca 100644
|
| --- a/visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp
|
| +++ b/visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp
|
| @@ -3,8 +3,10 @@
|
| // found in the LICENSE file.
|
|
|
| /// This project is for use with the testing framework
|
| -/// of the Visual Studio Add-in
|
| +/// of the Visual Studio Add-in.
|
| +
|
| #include <string>
|
| +
|
| #include "ppapi/cpp/instance.h"
|
| #include "ppapi/cpp/module.h"
|
| #include "ppapi/cpp/var.h"
|
| @@ -22,14 +24,14 @@ class DummyInstance : public pp::Instance {
|
|
|
| virtual bool Init(uint32_t /*argc*/, const char* /*argn*/[],
|
| const char* /*argv*/[]) {
|
| - // Start chain of message relaying
|
| + // Start chain of message relaying.
|
| PostMessage(pp::Var("relay1"));
|
| return true;
|
| }
|
|
|
| private:
|
| virtual void HandleMessage(const pp::Var& var_message) {
|
| - // Simply relay back to javascript the message we just received
|
| + // Simply relay back to javascript the message we just received.
|
| if (!var_message.is_string())
|
| return;
|
| std::string msg = var_message.AsString();
|
|
|