+std::string GetConsumerDeviceManagementServerUrl() {
+ const CommandLine* command_line = CommandLine::ForCurrentProcess();
+ if (command_line->HasSwitch(
+ chromeos::switches::kConsumerDeviceManagementUrl)) {
+ return command_line->GetSwitchValueASCII(
+ chromeos::switches::kConsumerDeviceManagementUrl);
+ }
+ return kDefaultConsumerDeviceManagementServerUrl;
+};
+