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

Unified Diff: public/platform/WebCallbacks.h

Issue 380923002: Introducing the WebServiceWorkerCacheStorage. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase only Created 6 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: public/platform/WebCallbacks.h
diff --git a/public/platform/WebCallbacks.h b/public/platform/WebCallbacks.h
index 4dd0421d5043391f276ec84a6d75f3de9d0bc42d..20cf3bbaa401d3e9122c0ab18a1d7052eeb68495 100644
--- a/public/platform/WebCallbacks.h
+++ b/public/platform/WebCallbacks.h
@@ -41,6 +41,14 @@ public:
virtual void onError(T*) { };
};
+template<typename T>
+class WebCallbacks<void, T> {
+public:
+ virtual ~WebCallbacks() { };
+ virtual void onSuccess() { };
+ virtual void onError(T*) { };
+};
+
} // namespace blink
#endif

Powered by Google App Engine
This is Rietveld 408576698