| OLD | NEW |
| 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 #ifndef REMOTING_BASE_SERVICE_URLS_H_ | 5 #ifndef REMOTING_BASE_SERVICE_URLS_H_ |
| 6 #define REMOTING_BASE_SERVICE_URLS_H_ | 6 #define REMOTING_BASE_SERVICE_URLS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 const std::string& xmpp_server_address_for_me2me_host() const; | 30 const std::string& xmpp_server_address_for_me2me_host() const; |
| 31 bool xmpp_server_use_tls() const; | 31 bool xmpp_server_use_tls() const; |
| 32 | 32 |
| 33 // Remoting directory bot JID (for registering hosts, logging, heartbeats). | 33 // Remoting directory bot JID (for registering hosts, logging, heartbeats). |
| 34 const std::string& directory_bot_jid() const; | 34 const std::string& directory_bot_jid() const; |
| 35 | 35 |
| 36 // JID for communicating with GCD. | 36 // JID for communicating with GCD. |
| 37 const std::string& gcd_jid() const; | 37 const std::string& gcd_jid() const; |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 friend struct DefaultSingletonTraits<ServiceUrls>; | 40 friend struct base::DefaultSingletonTraits<ServiceUrls>; |
| 41 | 41 |
| 42 ServiceUrls(); | 42 ServiceUrls(); |
| 43 virtual ~ServiceUrls(); | 43 virtual ~ServiceUrls(); |
| 44 | 44 |
| 45 std::string directory_base_url_; | 45 std::string directory_base_url_; |
| 46 std::string directory_hosts_url_; | 46 std::string directory_hosts_url_; |
| 47 std::string gcd_base_url_; | 47 std::string gcd_base_url_; |
| 48 std::string xmpp_server_address_; | 48 std::string xmpp_server_address_; |
| 49 std::string xmpp_server_address_for_me2me_host_; | 49 std::string xmpp_server_address_for_me2me_host_; |
| 50 bool xmpp_server_use_tls_; | 50 bool xmpp_server_use_tls_; |
| 51 std::string directory_bot_jid_; | 51 std::string directory_bot_jid_; |
| 52 std::string gcd_jid_; | 52 std::string gcd_jid_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(ServiceUrls); | 54 DISALLOW_COPY_AND_ASSIGN(ServiceUrls); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace remoting | 57 } // namespace remoting |
| 58 | 58 |
| 59 #endif // REMOTING_BASE_SERVICE_URLS_H_ | 59 #endif // REMOTING_BASE_SERVICE_URLS_H_ |
| OLD | NEW |