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

Side by Side Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 2240043002: Remove WTF_LOG(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: foo Created 4 years, 4 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/browser/renderer_host/render_process_host_impl.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chromecast/browser/cast_browser_main_parts.h" 5 #include "chromecast/browser/cast_browser_main_parts.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 DefaultCommandLineSwitch g_default_switches[] = { 213 DefaultCommandLineSwitch g_default_switches[] = {
214 #if defined(OS_ANDROID) 214 #if defined(OS_ANDROID)
215 // Disables Chromecast-specific WiFi-related features on ATV for now. 215 // Disables Chromecast-specific WiFi-related features on ATV for now.
216 { switches::kNoWifi, "" }, 216 { switches::kNoWifi, "" },
217 { switches::kDisableGestureRequirementForMediaPlayback, ""}, 217 { switches::kDisableGestureRequirementForMediaPlayback, ""},
218 { switches::kDisableMediaSuspend, ""}, 218 { switches::kDisableMediaSuspend, ""},
219 #else 219 #else
220 // GPU shader disk cache disabling is largely to conserve disk space. 220 // GPU shader disk cache disabling is largely to conserve disk space.
221 { switches::kDisableGpuShaderDiskCache, "" }, 221 { switches::kDisableGpuShaderDiskCache, "" },
222 #endif 222 #endif
223 // Always enable HTMLMediaElement logs.
224 { switches::kBlinkPlatformLogChannels, "Media"},
225 #if BUILDFLAG(DISABLE_DISPLAY) 223 #if BUILDFLAG(DISABLE_DISPLAY)
226 { switches::kDisableGpu, "" }, 224 { switches::kDisableGpu, "" },
227 #endif 225 #endif
228 #if defined(OS_LINUX) 226 #if defined(OS_LINUX)
229 #if defined(ARCH_CPU_X86_FAMILY) 227 #if defined(ARCH_CPU_X86_FAMILY)
230 // This is needed for now to enable the x11 Ozone platform to work with 228 // This is needed for now to enable the x11 Ozone platform to work with
231 // current Linux/NVidia OpenGL drivers. 229 // current Linux/NVidia OpenGL drivers.
232 { switches::kIgnoreGpuBlacklist, ""}, 230 { switches::kIgnoreGpuBlacklist, ""},
233 #elif defined(ARCH_CPU_ARM_FAMILY) 231 #elif defined(ARCH_CPU_ARM_FAMILY)
234 // On Linux arm, enable CMA pipeline by default. 232 // On Linux arm, enable CMA pipeline by default.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 536
539 void CastBrowserMainParts::PostDestroyThreads() { 537 void CastBrowserMainParts::PostDestroyThreads() {
540 #if !defined(OS_ANDROID) 538 #if !defined(OS_ANDROID)
541 media_resource_tracker_->FinalizeAndDestroy(); 539 media_resource_tracker_->FinalizeAndDestroy();
542 media_resource_tracker_ = nullptr; 540 media_resource_tracker_ = nullptr;
543 #endif 541 #endif
544 } 542 }
545 543
546 } // namespace shell 544 } // namespace shell
547 } // namespace chromecast 545 } // namespace chromecast
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698