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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 819203002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/win/unprivileged_process_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index 9a3271e1b31a186964dce26b4cbfb87327891ab7..32f3f18a4f123af05967456f563157366cbe2724 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -894,7 +894,7 @@ bool HostProcess::ApplyConfig(const base::DictionaryValue& config) {
}
// Allow offering of VP9 encoding to be overridden by the command-line.
- if (CommandLine::ForCurrentProcess()->HasSwitch(kEnableVp9SwitchName)) {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnableVp9SwitchName)) {
enable_vp9_ = true;
} else {
config.GetBoolean(kEnableVp9ConfigPath, &enable_vp9_);
@@ -902,10 +902,10 @@ bool HostProcess::ApplyConfig(const base::DictionaryValue& config) {
// Allow the command-line to override the size of the frame recorder buffer.
int frame_recorder_buffer_kb = 0;
- if (CommandLine::ForCurrentProcess()->HasSwitch(
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
kFrameRecorderBufferKbName)) {
std::string switch_value =
- CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
+ base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
kFrameRecorderBufferKbName);
base::StringToInt(switch_value, &frame_recorder_buffer_kb);
} else {
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/win/unprivileged_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698