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

Unified Diff: content/renderer/service_worker/service_worker_script_context.h

Issue 931173002: Implement EmbeddedWorkerContextClient.setCachedMetadata/clearCachedMetadata (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/renderer/service_worker/service_worker_script_context.h
diff --git a/content/renderer/service_worker/service_worker_script_context.h b/content/renderer/service_worker/service_worker_script_context.h
index d33e91152232c038be9837e2448167a2d4a296f9..723cde54632324af1ed4948903e61b3e1250441c 100644
--- a/content/renderer/service_worker/service_worker_script_context.h
+++ b/content/renderer/service_worker/service_worker_script_context.h
@@ -76,6 +76,8 @@ class ServiceWorkerScriptContext {
blink::WebServiceWorkerClientsCallbacks* callbacks);
void OpenWindow(const GURL& url,
blink::WebServiceWorkerClientCallbacks* callbacks);
+ void setCachedMetadata(const GURL& url, const char* data, size_t size);
+ void clearCachedMetadata(const GURL& url);
michaeln 2015/02/18 03:37:34 Upper first letter in method names.
horo 2015/02/18 04:17:06 Done.
void PostMessageToDocument(
int client_id,
const base::string16& message,

Powered by Google App Engine
This is Rietveld 408576698