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

Unified Diff: third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js

Issue 2417703006: DevTools: introduce a stub for the new audits panel (behind experiment). (Closed)
Patch Set: missing file added. Created 4 years, 2 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: third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
diff --git a/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js b/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
new file mode 100644
index 0000000000000000000000000000000000000000..957d7a1b7b884320606fb0e746c270cab84c8ec9
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
@@ -0,0 +1,41 @@
+// Copyright (c) 2016 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.
+
+/**
+ * @constructor
+ * @implements {Service}
+ */
+function Audits2Service()
+{
+}
+
+Audits2Service.prototype = {
+ /**
+ * @return {!Promise}
+ */
+ start: function()
+ {
+ console.error("WORKER START");
+ return Promise.resolve();
+ },
+
+ /**
+ * @return {!Promise}
+ */
+ stop: function()
+ {
+ console.error("WORKER STOP");
+ return Promise.resolve();
+ },
+
+ /**
+ * @override
+ */
+ dispose: function()
+ {
+ console.error("WORKER DISPOSE");
+ }
+}
+
+initializeWorkerService("Audits2Service", Audits2Service);

Powered by Google App Engine
This is Rietveld 408576698