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

Unified Diff: remoting/base/service_urls.cc

Issue 2779373003: Moving service urls to base. (Closed)
Patch Set: Updating moved file c dates. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/service_urls.h ('k') | remoting/host/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/service_urls.cc
diff --git a/remoting/host/service_urls.cc b/remoting/base/service_urls.cc
similarity index 87%
rename from remoting/host/service_urls.cc
rename to remoting/base/service_urls.cc
index b4aa3cd63128b9b086d6c1721a04c4fa501c432f..bdf0015f1abae85f36649ce35a091cce7e672697 100644
--- a/remoting/host/service_urls.cc
+++ b/remoting/base/service_urls.cc
@@ -1,13 +1,13 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/service_urls.h"
+#include "remoting/base/service_urls.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "google_apis/google_api_keys.h"
-#include "remoting/signaling/remoting_bot.h"
+#include "remoting/base/remoting_bot.h"
// Configurable service data.
const char kDirectoryBaseUrl[] = "https://www.googleapis.com/chromoting/v1";
@@ -50,23 +50,23 @@ ServiceUrls::ServiceUrls()
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
CHECK(command_line);
if (command_line->HasSwitch(kDirectoryBaseUrlSwitch)) {
- directory_base_url_ = command_line->GetSwitchValueASCII(
- kDirectoryBaseUrlSwitch);
+ directory_base_url_ =
+ command_line->GetSwitchValueASCII(kDirectoryBaseUrlSwitch);
}
if (command_line->HasSwitch(kGcdBaseUrlSwitch)) {
gcd_base_url_ = command_line->GetSwitchValueASCII(kGcdBaseUrlSwitch);
}
if (command_line->HasSwitch(kXmppServerAddressSwitch)) {
- xmpp_server_address_ = command_line->GetSwitchValueASCII(
- kXmppServerAddressSwitch);
+ xmpp_server_address_ =
+ command_line->GetSwitchValueASCII(kXmppServerAddressSwitch);
xmpp_server_address_for_me2me_host_ = xmpp_server_address_;
}
if (command_line->HasSwitch(kXmppServerDisableTlsSwitch)) {
xmpp_server_use_tls_ = false;
}
if (command_line->HasSwitch(kDirectoryBotJidSwitch)) {
- directory_bot_jid_ = command_line->GetSwitchValueASCII(
- kDirectoryBotJidSwitch);
+ directory_bot_jid_ =
+ command_line->GetSwitchValueASCII(kDirectoryBotJidSwitch);
}
if (command_line->HasSwitch(kGcdJidSwitch)) {
gcd_jid_ = command_line->GetSwitchValueASCII(kGcdJidSwitch);
« no previous file with comments | « remoting/base/service_urls.h ('k') | remoting/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698