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

Side by Side Diff: chromecast/base/chromecast_switches.cc

Issue 2300993003: CmaRenderer is dead. Long live MojoRenderer. (Closed)
Patch Set: update OWNERS file Created 4 years, 3 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 | « chromecast/base/chromecast_switches.h ('k') | chromecast/base/chromecast_switches_unittest.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/base/chromecast_switches.h" 5 #include "chromecast/base/chromecast_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
11 // Value indicating whether flag from command line switch is true. 11 // Value indicating whether flag from command line switch is true.
12 const char kSwitchValueTrue[] = "true"; 12 const char kSwitchValueTrue[] = "true";
13 13
14 // Value indicating whether flag from command line switch is false. 14 // Value indicating whether flag from command line switch is false.
15 const char kSwitchValueFalse[] = "false"; 15 const char kSwitchValueFalse[] = "false";
16 16
17 // Server url to upload crash data to. 17 // Server url to upload crash data to.
18 // Default is "http://clients2.google.com/cr/report" for prod devices. 18 // Default is "http://clients2.google.com/cr/report" for prod devices.
19 // Default is "http://clients2.google.com/cr/staging_report" for non prod. 19 // Default is "http://clients2.google.com/cr/staging_report" for non prod.
20 const char kCrashServerUrl[] = "crash-server-url"; 20 const char kCrashServerUrl[] = "crash-server-url";
21 21
22 // Enable the CMA media pipeline.
23 const char kEnableCmaMediaPipeline[] = "enable-cma-media-pipeline";
24
25 // Enable file accesses. It should not be enabled for most Cast devices. 22 // Enable file accesses. It should not be enabled for most Cast devices.
26 const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; 23 const char kEnableLocalFileAccesses[] = "enable-local-file-accesses";
27 24
28 // Override the URL to which metrics logs are sent for debugging. 25 // Override the URL to which metrics logs are sent for debugging.
29 const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url"; 26 const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url";
30 27
31 // Disable features that require WiFi management. 28 // Disable features that require WiFi management.
32 const char kNoWifi[] = "no-wifi"; 29 const char kNoWifi[] = "no-wifi";
33 30
34 // Allows media playback for hidden WebContents 31 // Allows media playback for hidden WebContents
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 << "; assuming default value of " << default_value; 105 << "; assuming default value of " << default_value;
109 return default_value; 106 return default_value;
110 } 107 }
111 return command_line->GetSwitchValueASCII(switch_string) != 108 return command_line->GetSwitchValueASCII(switch_string) !=
112 switches::kSwitchValueFalse; 109 switches::kSwitchValueFalse;
113 } 110 }
114 return default_value; 111 return default_value;
115 } 112 }
116 113
117 } // namespace chromecast 114 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/base/chromecast_switches.h ('k') | chromecast/base/chromecast_switches_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698