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

Unified Diff: public/web/WebEmbeddedWorkerStartMode.h

Issue 61763004: Add EmbeddedWorker interfaces in Blink API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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: public/web/WebEmbeddedWorkerStartMode.h
diff --git a/public/platform/WebCallbacks.h b/public/web/WebEmbeddedWorkerStartMode.h
similarity index 87%
copy from public/platform/WebCallbacks.h
copy to public/web/WebEmbeddedWorkerStartMode.h
index ba023d32cce145c7a5cf7f38e9693a86f6a8bff3..33036bbdcff81536844dc807130e1766bdf0af57 100644
--- a/public/platform/WebCallbacks.h
+++ b/public/web/WebEmbeddedWorkerStartMode.h
@@ -28,19 +28,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebCallbacks_h
-#define WebCallbacks_h
+#ifndef WebEmbeddedWorkerStartMode_h
+#define WebEmbeddedWorkerStartMode_h
namespace WebKit {
-template<typename S, typename T>
-class WebCallbacks {
-public:
- virtual ~WebCallbacks() { };
- virtual void onSuccess(S*) { };
- virtual void onError(T*) { };
+enum WebEmbeddedWorkerStartMode {
+ WebEmbeddedWorkerStartModeDontPauseOnStart,
+ WebEmbeddedWorkerStartModePauseOnStart
};
} // namespace WebKit
-#endif
+#endif // WebEmbeddedWorkerStartMode_h

Powered by Google App Engine
This is Rietveld 408576698