diff options
author | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-04 00:51:36 +0000 |
---|---|---|
committer | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-04 00:51:36 +0000 |
commit | 8f13defae66da0debef8efbe651024e40958acb9 (patch) | |
tree | 5f2a69dc2a49b2656393b77480602ef9c83e4b99 | |
parent | 43ab502e2e551112c2ad8af5f18cbe6a405f6789 (diff) | |
download | chromium_src-8f13defae66da0debef8efbe651024e40958acb9.zip chromium_src-8f13defae66da0debef8efbe651024e40958acb9.tar.gz chromium_src-8f13defae66da0debef8efbe651024e40958acb9.tar.bz2 |
Rename --webcore-log-channels to --blink-platform-log-channels.
It's blink now!
R=jochen@chromium.org
BUG=None
Review URL: https://codereview.chromium.org/152873002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248639 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/browser/renderer_host/render_process_host_impl.cc | 2 | ||||
-rw-r--r-- | content/public/common/content_switches.cc | 8 | ||||
-rw-r--r-- | content/public/common/content_switches.h | 2 | ||||
-rw-r--r-- | content/renderer/render_thread_impl.cc | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc index 6314349..6c00538 100644 --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc @@ -951,6 +951,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( switches::kAudioBufferSize, switches::kAuditAllHandles, switches::kAuditHandles, + switches::kBlinkPlatformLogChannels, switches::kBlockCrossSiteDocuments, switches::kDefaultTileWidth, switches::kDefaultTileHeight, @@ -1088,7 +1089,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( switches::kV, switches::kVideoThreads, switches::kVModule, - switches::kWebCoreLogChannels, switches::kWebGLCommandBufferSizeKb, // Please keep these in alphabetical order. Compositor switches here should // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc index bf10a11..6305550 100644 --- a/content/public/common/content_switches.cc +++ b/content/public/common/content_switches.cc @@ -44,6 +44,10 @@ const char kBlacklistAcceleratedCompositing[] = // Blacklist the GPU for WebGL. const char kBlacklistWebGL[] = "blacklist-webgl"; +// Choose which logging channels in blink platform to activate. See +// Logging.cpp in blink's Source/platform for a list of available channels. +const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; + // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in // subresources when a document is not supposed to read them. This will later // allow us to block them from the entire renderer process when site isolation @@ -955,10 +959,6 @@ const char kUtilityProcessEnableMDns[] = "utility-enable-mdns"; // kWaitForDebugger flag passed on or not. const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; -// Choose which logging channels in WebCore to activate. See -// Logging.cpp in WebKit's WebCore for a list of available channels. -const char kWebCoreLogChannels[] = "webcore-log-channels"; - // Overrides the amount of shared memory the webgl command buffer allocates const char kWebGLCommandBufferSizeKb[] = "webgl-command-buffer-size-kb"; diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h index 8953c44..3940538 100644 --- a/content/public/common/content_switches.h +++ b/content/public/common/content_switches.h @@ -23,6 +23,7 @@ extern const char kAuditAllHandles[]; extern const char kAuditHandles[]; CONTENT_EXPORT extern const char kBlacklistAcceleratedCompositing[]; CONTENT_EXPORT extern const char kBlacklistWebGL[]; +extern const char kBlinkPlatformLogChannels[]; CONTENT_EXPORT extern const char kBlockCrossSiteDocuments[]; CONTENT_EXPORT extern const char kBrowserAssertTest[]; CONTENT_EXPORT extern const char kBrowserCrashTest[]; @@ -268,7 +269,6 @@ CONTENT_EXPORT extern const char kUtilityProcess[]; extern const char kUtilityProcessAllowedDir[]; CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[]; CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; -extern const char kWebCoreLogChannels[]; CONTENT_EXPORT extern const char kWebGLCommandBufferSizeKb[]; CONTENT_EXPORT extern const char kWorkerProcess[]; CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc index ed604a9..8bcd62d 100644 --- a/content/renderer/render_thread_impl.cc +++ b/content/renderer/render_thread_impl.cc @@ -234,7 +234,7 @@ scoped_ptr<base::SharedMemory> AllocateSharedMemoryFunction(size_t size) { return RenderThreadImpl::Get()->HostAllocateSharedMemoryBuffer(size); } -void EnableWebCoreLogChannels(const std::string& channels) { +void EnableBlinkPlatformLogChannels(const std::string& channels) { if (channels.empty()) return; base::StringTokenizer t(channels, ", "); @@ -705,8 +705,8 @@ void RenderThreadImpl::EnsureWebKitInitialized() { RenderThreadImpl::RegisterSchemes(); - EnableWebCoreLogChannels( - command_line.GetSwitchValueASCII(switches::kWebCoreLogChannels)); + EnableBlinkPlatformLogChannels( + command_line.GetSwitchValueASCII(switches::kBlinkPlatformLogChannels)); SetRuntimeFeaturesDefaultsAndUpdateFromArgs(command_line); |