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

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_stub.h

Issue 592043005: [WIP]Implement Chromium side changes for navigator.language(s) support for workers. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: languagechange event plumbing for shared worker. Stil WIP. Created 6 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: content/renderer/shared_worker/embedded_shared_worker_stub.h
diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.h b/content/renderer/shared_worker/embedded_shared_worker_stub.h
index a3f34049641462023eefcf5f4c085d5f13040a55..20ad95f5fbede343f8554a5d685a44994106265e 100644
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.h
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.h
@@ -39,7 +39,8 @@ class EmbeddedSharedWorkerStub : public IPC::Listener,
const base::string16& content_security_policy,
blink::WebContentSecurityPolicyType security_policy_type,
bool pause_on_start,
- int route_id);
+ int route_id,
+ const base::string16& accept_languages);
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -86,6 +87,7 @@ class EmbeddedSharedWorkerStub : public IPC::Listener,
ScopedChildProcessReference process_ref_;
WebApplicationCacheHostImpl* app_cache_host_;
+ base::string16 accept_languages_;
DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub);
};
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/shared_worker/embedded_shared_worker_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698