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

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

Issue 947993003: Chromecast: disables wifi-based features on ATV. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | chromecast/browser/test/chromecast_browser_test_runner.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 #include <sys/prctl.h> 8 #include <sys/prctl.h>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const char* const switch_name; 94 const char* const switch_name;
95 const char* const switch_value; 95 const char* const switch_value;
96 }; 96 };
97 97
98 DefaultCommandLineSwitch g_default_switches[] = { 98 DefaultCommandLineSwitch g_default_switches[] = {
99 // TODO(ddorwin): Develop a permanent solution. See http://crbug.com/394926. 99 // TODO(ddorwin): Develop a permanent solution. See http://crbug.com/394926.
100 // For now, disable unprefixed EME because the video behavior not be 100 // For now, disable unprefixed EME because the video behavior not be
101 // consistent with other clients. 101 // consistent with other clients.
102 { switches::kDisableEncryptedMedia, ""}, 102 { switches::kDisableEncryptedMedia, ""},
103 #if defined(OS_ANDROID) 103 #if defined(OS_ANDROID)
104 { switches::kNoWifi, "" },
lcwu1 2015/02/23 21:48:50 It might make it clear to add a comment saying the
gunsch 2015/02/23 22:00:33 Done.
gunsch 2015/02/23 22:00:33 Done.
104 { switches::kMediaDrmEnableNonCompositing, ""}, 105 { switches::kMediaDrmEnableNonCompositing, ""},
105 { switches::kEnableOverlayFullscreenVideo, ""}, 106 { switches::kEnableOverlayFullscreenVideo, ""},
106 { switches::kDisableInfobarForProtectedMediaIdentifier, ""}, 107 { switches::kDisableInfobarForProtectedMediaIdentifier, ""},
107 { switches::kDisableGestureRequirementForMediaPlayback, ""}, 108 { switches::kDisableGestureRequirementForMediaPlayback, ""},
108 { switches::kForceUseOverlayEmbeddedVideo, ""}, 109 { switches::kForceUseOverlayEmbeddedVideo, ""},
109 #endif 110 #endif
110 // Always enable HTMLMediaElement logs. 111 // Always enable HTMLMediaElement logs.
111 { switches::kBlinkPlatformLogChannels, "Media"}, 112 { switches::kBlinkPlatformLogChannels, "Media"},
112 #if defined(DISABLE_DISPLAY) 113 #if defined(DISABLE_DISPLAY)
113 { switches::kDisableGpu, "" }, 114 { switches::kDisableGpu, "" },
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 267 }
267 268
268 void CastBrowserMainParts::PostMainMessageLoopRun() { 269 void CastBrowserMainParts::PostMainMessageLoopRun() {
269 cast_browser_process_->cast_service()->Finalize(); 270 cast_browser_process_->cast_service()->Finalize();
270 cast_browser_process_->metrics_service_client()->Finalize(); 271 cast_browser_process_->metrics_service_client()->Finalize();
271 cast_browser_process_.reset(); 272 cast_browser_process_.reset();
272 } 273 }
273 274
274 } // namespace shell 275 } // namespace shell
275 } // namespace chromecast 276 } // namespace chromecast
OLDNEW
« no previous file with comments | « no previous file | chromecast/browser/test/chromecast_browser_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698