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

Unified Diff: content/browser/service_worker/embedded_worker_test_helper.h

Issue 252633003: Introduce worker_devtools_agent_route_id for EmbeddedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 6 years, 8 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: content/browser/service_worker/embedded_worker_test_helper.h
diff --git a/content/browser/service_worker/embedded_worker_test_helper.h b/content/browser/service_worker/embedded_worker_test_helper.h
index 27a04165450a2a2a9b65ac2e39a70b16423f5479..7cd817df6b9ee7d4eff3145904285b77eb675b5b 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.h
+++ b/content/browser/service_worker/embedded_worker_test_helper.h
@@ -14,6 +14,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
+struct EmbeddedWorkerMsg_StartWorker_Params;
class GURL;
namespace content {
@@ -104,10 +105,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
EmbeddedWorkerRegistry* registry();
private:
- void OnStartWorkerStub(int embedded_worker_id,
- int64 service_worker_version_id,
- const GURL& scope,
- const GURL& script_url);
+ void OnStartWorkerStub(const EmbeddedWorkerMsg_StartWorker_Params& params);
void OnStopWorkerStub(int embedded_worker_id);
void OnMessageToWorkerStub(int thread_id,
int embedded_worker_id,

Powered by Google App Engine
This is Rietveld 408576698