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

Side by Side Diff: content/browser/worker_host/worker_process_host.cc

Issue 183153002: Make shared worker aware kEnableSharedWorkerMemoryInfo switch (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/worker_host/worker_process_host.h" 5 #include "content/browser/worker_host/worker_process_host.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 static const char* const kSwitchNames[] = { 198 static const char* const kSwitchNames[] = {
199 switches::kDisableApplicationCache, 199 switches::kDisableApplicationCache,
200 switches::kDisableDatabases, 200 switches::kDisableDatabases,
201 #if defined(OS_WIN) 201 #if defined(OS_WIN)
202 switches::kDisableDesktopNotifications, 202 switches::kDisableDesktopNotifications,
203 #endif 203 #endif
204 switches::kDisableFileSystem, 204 switches::kDisableFileSystem,
205 switches::kDisableSeccompFilterSandbox, 205 switches::kDisableSeccompFilterSandbox,
206 switches::kEnableExperimentalWebPlatformFeatures, 206 switches::kEnableExperimentalWebPlatformFeatures,
207 switches::kEnableSharedWorkerMemoryInfo,
207 switches::kEnableServiceWorker, 208 switches::kEnableServiceWorker,
208 #if defined(OS_MACOSX) 209 #if defined(OS_MACOSX)
209 switches::kEnableSandboxLogging, 210 switches::kEnableSandboxLogging,
210 #endif 211 #endif
211 switches::kJavaScriptFlags, 212 switches::kJavaScriptFlags,
212 switches::kNoSandbox 213 switches::kNoSandbox
213 }; 214 };
214 cmd_line->CopySwitchesFrom(*CommandLine::ForCurrentProcess(), kSwitchNames, 215 cmd_line->CopySwitchesFrom(*CommandLine::ForCurrentProcess(), kSwitchNames,
215 arraysize(kSwitchNames)); 216 arraysize(kSwitchNames));
216 217
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 return false; 837 return false;
837 } 838 }
838 839
839 WorkerProcessHost::WorkerInstance::FilterInfo 840 WorkerProcessHost::WorkerInstance::FilterInfo
840 WorkerProcessHost::WorkerInstance::GetFilter() const { 841 WorkerProcessHost::WorkerInstance::GetFilter() const {
841 DCHECK(NumFilters() == 1); 842 DCHECK(NumFilters() == 1);
842 return *filters_.begin(); 843 return *filters_.begin();
843 } 844 }
844 845
845 } // namespace content 846 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698