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

Unified Diff: Source/modules/serviceworkers/testing/InternalsServiceWorker.h

Issue 695643002: Add terminateServiceWorker method for layout tests - blink side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years 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: Source/modules/serviceworkers/testing/InternalsServiceWorker.h
diff --git a/Source/modules/serviceworkers/testing/InternalsServiceWorker.h b/Source/modules/serviceworkers/testing/InternalsServiceWorker.h
new file mode 100644
index 0000000000000000000000000000000000000000..248df9371fb4c4af5945217af3cd262bc60804f9
--- /dev/null
+++ b/Source/modules/serviceworkers/testing/InternalsServiceWorker.h
@@ -0,0 +1,20 @@
+// 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 InternalsServiceWorker_h
+#define InternalsServiceWorker_h
+
+namespace blink {
+
+class Internals;
+class ServiceWorker;
+
+class InternalsServiceWorker {
+public:
+ static void terminateServiceWorker(Internals&, ServiceWorker*);
+};
+
+} // namespace blink
+
+#endif // InternalsServiceWorker_h
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorker.cpp ('k') | Source/modules/serviceworkers/testing/InternalsServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698