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

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

Issue 829133009: Remove command line flag --disable-plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased patch Created 5 years, 11 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_view_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 <signal.h> 7 #include <signal.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 }; 86 };
87 87
88 DefaultCommandLineSwitch g_default_switches[] = { 88 DefaultCommandLineSwitch g_default_switches[] = {
89 #if defined(OS_ANDROID) 89 #if defined(OS_ANDROID)
90 { switches::kMediaDrmEnableNonCompositing, ""}, 90 { switches::kMediaDrmEnableNonCompositing, ""},
91 { switches::kEnableOverlayFullscreenVideo, ""}, 91 { switches::kEnableOverlayFullscreenVideo, ""},
92 { switches::kDisableInfobarForProtectedMediaIdentifier, ""}, 92 { switches::kDisableInfobarForProtectedMediaIdentifier, ""},
93 { switches::kDisableGestureRequirementForMediaPlayback, ""}, 93 { switches::kDisableGestureRequirementForMediaPlayback, ""},
94 { switches::kForceUseOverlayEmbeddedVideo, ""}, 94 { switches::kForceUseOverlayEmbeddedVideo, ""},
95 #endif 95 #endif
96 { switches::kDisablePlugins, "" },
97 // Always enable HTMLMediaElement logs. 96 // Always enable HTMLMediaElement logs.
98 { switches::kBlinkPlatformLogChannels, "Media"}, 97 { switches::kBlinkPlatformLogChannels, "Media"},
99 #if defined(DISABLE_DISPLAY) 98 #if defined(DISABLE_DISPLAY)
100 { switches::kDisableGpu, "" }, 99 { switches::kDisableGpu, "" },
101 #endif 100 #endif
102 #if defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY) 101 #if defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY)
103 // This is needed for now to enable the egltest Ozone platform to work with 102 // This is needed for now to enable the egltest Ozone platform to work with
104 // current Linux/NVidia OpenGL drivers. 103 // current Linux/NVidia OpenGL drivers.
105 { switches::kIgnoreGpuBlacklist, ""}, 104 { switches::kIgnoreGpuBlacklist, ""},
106 // TODO(gusfernandez): This is needed to fix a bug with 105 // TODO(gusfernandez): This is needed to fix a bug with
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 } 242 }
244 243
245 void CastBrowserMainParts::PostMainMessageLoopRun() { 244 void CastBrowserMainParts::PostMainMessageLoopRun() {
246 cast_browser_process_->cast_service()->Finalize(); 245 cast_browser_process_->cast_service()->Finalize();
247 cast_browser_process_->metrics_service_client()->Finalize(); 246 cast_browser_process_->metrics_service_client()->Finalize();
248 cast_browser_process_.reset(); 247 cast_browser_process_.reset();
249 } 248 }
250 249
251 } // namespace shell 250 } // namespace shell
252 } // namespace chromecast 251 } // namespace chromecast
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698