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

Unified Diff: ppapi/example/example.cc

Issue 10014013: Add a hang monitor for Pepper plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: ppapi/example/example.cc
diff --git a/ppapi/example/example.cc b/ppapi/example/example.cc
index 0832deedcbcd2801d8433f2c6a35e46948c9aed0..b345faf48a73540b2b6861c041e04c15a69d4531 100644
--- a/ppapi/example/example.cc
+++ b/ppapi/example/example.cc
@@ -6,6 +6,7 @@
#include <stdio.h> // FIXME(brettw) erase me.
#ifndef _WIN32
#include <sys/time.h>
+#include <unistd.h>
brettw 2012/04/10 18:07:56 You can ignore the changes in this file, but I wan
#else
#include <windows.h>
#endif
@@ -190,6 +191,7 @@ class MyInstance : public pp::InstancePrivate, public MyFetcherClient {
}
virtual bool Init(uint32_t argc, const char* argn[], const char* argv[]) {
+ sleep(15);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698