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

Unified Diff: public/platform/WebServiceWorkerSkipWaitingCallbacks.h

Issue 723923002: ServiceWorker: Add support for .skipWaiting and controllerchange event(1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: split the CL Created 6 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/platform/WebServiceWorkerSkipWaitingCallbacks.h
diff --git a/public/platform/WebServiceWorkerSkipWaitingCallbacks.h b/public/platform/WebServiceWorkerSkipWaitingCallbacks.h
new file mode 100644
index 0000000000000000000000000000000000000000..a96b9ac7e67daf065d0a5577caffc60daff771c4
--- /dev/null
+++ b/public/platform/WebServiceWorkerSkipWaitingCallbacks.h
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebServiceWorkerSkipWaitingCallbacks_h
+#define WebServiceWorkerSkipWaitingCallbacks_h
+
+#include "WebCallbacks.h"
+
+namespace blink {
+
+typedef WebCallbacks<void, void> WebServiceWorkerSkipWaitingCallbacks;
tkent 2014/12/01 07:57:13 we prefer |using| to |typedef|.
xiang 2014/12/02 02:31:48 Done.
+
+} // namespace blink
+
+#endif // WebServiceWorkerSkipWaitingCallbacks_h

Powered by Google App Engine
This is Rietveld 408576698