Index: content/worker/websharedworkerclient_proxy.cc |
diff --git a/content/worker/websharedworkerclient_proxy.cc b/content/worker/websharedworkerclient_proxy.cc |
index 486479a30d3084e4a4c66787333e94cb7560dd74..466e23731a581f6e4031bcfa1a6053daf7a3606d 100644 |
--- a/content/worker/websharedworkerclient_proxy.cc |
+++ b/content/worker/websharedworkerclient_proxy.cc |
@@ -82,6 +82,13 @@ void WebSharedWorkerClientProxy::selectAppCacheID(long long app_cache_id) { |
} |
} |
+bool WebSharedWorkerClientProxy::enableMemoryInfo() { |
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableMemoryInfo)) |
+ return true; |
+ |
+ return false; |
+} |
kinuko
2014/02/28 05:26:12
As I commented on the other thread, can we avoid a
|
+ |
blink::WebNotificationPresenter* |
WebSharedWorkerClientProxy::notificationPresenter() { |
// TODO(johnnyg): Notifications are not yet hooked up to workers. |