Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: visual_studio/NativeClientVSAddIn/TestingProjects/ProjectSettingsTest/ProjectSettingsTest/main.cpp

Issue 10797040: PPAPI Patching System and Unit Tests (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: visual_studio/NativeClientVSAddIn/TestingProjects/ProjectSettingsTest/ProjectSettingsTest/main.cpp
diff --git a/visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp b/visual_studio/NativeClientVSAddIn/TestingProjects/ProjectSettingsTest/ProjectSettingsTest/main.cpp
similarity index 95%
copy from visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp
copy to visual_studio/NativeClientVSAddIn/TestingProjects/ProjectSettingsTest/ProjectSettingsTest/main.cpp
index 2258175ea09e97fc06480f8eec4d6244d5fcc418..1ed5f81b31551d1363ae4a80fd233fe3664cc8f7 100644
--- a/visual_studio/NativeClientVSAddIn/TestingProjects/DummyLoop/DummyLoop/main.cpp
+++ b/visual_studio/NativeClientVSAddIn/TestingProjects/ProjectSettingsTest/ProjectSettingsTest/main.cpp
@@ -3,7 +3,7 @@
// 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"
noelallen1 2012/07/20 21:46:01 LF between system and project includes
tysand 2012/07/24 21:24:15 Done.
#include "ppapi/cpp/module.h"
@@ -22,14 +22,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();

Powered by Google App Engine
This is Rietveld 408576698