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

Side by Side Diff: remoting/base/service_urls.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 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 | « ppapi/proxy/proxy_module.cc ('k') | remoting/base/service_urls.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 #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
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_
OLDNEW
« no previous file with comments | « ppapi/proxy/proxy_module.cc ('k') | remoting/base/service_urls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698