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

Unified Diff: native_client_sdk/src/examples/demo/pi_generator/pi_generator.h

Issue 14607005: [NaCl SDK] Cleanup examples. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: native_client_sdk/src/examples/demo/pi_generator/pi_generator.h
diff --git a/native_client_sdk/src/examples/demo/pi_generator/pi_generator.h b/native_client_sdk/src/examples/demo/pi_generator/pi_generator.h
index 67b47813913ba25db67d66e26476cb35d1306029..b88107efde25746207f84600b09cc4048aa5ada9 100644
--- a/native_client_sdk/src/examples/demo/pi_generator/pi_generator.h
+++ b/native_client_sdk/src/examples/demo/pi_generator/pi_generator.h
@@ -14,14 +14,6 @@
#include "ppapi/cpp/rect.h"
#include "ppapi/cpp/size.h"
-namespace pi_generator {
-
-// The Instance class. One of these exists for each instance of your NaCl
-// module on the web page. The browser will ask the Module object to create
-// a new Instance for each occurrence of the <embed> tag that has these
-// attributes:
-// type="application/x-nacl"
-// nacl="pi_generator.nmf"
class PiGenerator : public pp::Instance {
public:
explicit PiGenerator(PP_Instance instance);
@@ -103,6 +95,4 @@ class PiGenerator : public pp::Instance {
static void* ComputePi(void* param);
};
-} // namespace pi_generator
-
#endif // EXAMPLES_PI_GENERATOR_PI_GENERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698