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

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

Issue 1135743002: Check the size of ResourceRecords in ServiceWorkerDatabase::ReadRegistration() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK in ServiceWorkerStorage::ReturnFoundRegistration() Created 5 years, 7 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
« no previous file with comments | « no previous file | content/browser/service_worker/embedded_worker_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c81d191bb9c39aec2562bcb7b1e6e53e809422e5..50df4c01934238571f6243be0261db71a0d27114 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.h
+++ b/content/browser/service_worker/embedded_worker_test_helper.h
@@ -103,6 +103,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
// browser.
void SimulatePausedAfterDownload(int embedded_worker_id);
void SimulateWorkerReadyForInspection(int embedded_worker_id);
+ void SimulateWorkerScriptCached(int embedded_worker_id);
void SimulateWorkerScriptLoaded(int thread_id, int embedded_worker_id);
void SimulateWorkerScriptEvaluated(int embedded_worker_id);
void SimulateWorkerStarted(int embedded_worker_id);
@@ -131,6 +132,8 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
int next_thread_id_;
int mock_render_process_id_;
+ std::map<int, int64> embedded_worker_id_service_worker_version_id_map_;
+
// Updated each time MessageToWorker message is received.
int current_embedded_worker_id_;
« no previous file with comments | « no previous file | content/browser/service_worker/embedded_worker_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698