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

Unified Diff: remoting/host/host_port_allocator.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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
Index: remoting/host/host_port_allocator.cc
diff --git a/remoting/host/host_port_allocator.cc b/remoting/host/host_port_allocator.cc
index ba53322b4e439e79cdf641cd0fd69ce8a947b764..cf8a84c00e0eba218003b6457d0c79ca9ecf200f 100644
--- a/remoting/host/host_port_allocator.cc
+++ b/remoting/host/host_port_allocator.cc
@@ -59,11 +59,16 @@ HostPortAllocatorSession::HostPortAllocatorSession(
const std::vector<std::string>& relay_hosts,
const std::string& relay,
const scoped_refptr<net::URLRequestContextGetter>& url_context)
- : HttpPortAllocatorSessionBase(
- allocator, content_name, component, ice_username_fragment, ice_password,
- stun_hosts, relay_hosts, relay, ""),
- url_context_(url_context) {
-}
+ : HttpPortAllocatorSessionBase(allocator,
+ content_name,
+ component,
+ ice_username_fragment,
+ ice_password,
+ stun_hosts,
+ relay_hosts,
+ relay,
+ std::string()),
+ url_context_(url_context) {}
HostPortAllocatorSession::~HostPortAllocatorSession() {
STLDeleteElements(&url_fetchers_);
@@ -157,11 +162,12 @@ HostPortAllocator::HostPortAllocator(
const scoped_refptr<net::URLRequestContextGetter>& url_context,
scoped_ptr<talk_base::NetworkManager> network_manager,
scoped_ptr<talk_base::PacketSocketFactory> socket_factory)
- : HttpPortAllocatorBase(network_manager.get(), socket_factory.get(), ""),
+ : HttpPortAllocatorBase(network_manager.get(),
+ socket_factory.get(),
+ std::string()),
url_context_(url_context),
network_manager_(network_manager.Pass()),
- socket_factory_(socket_factory.Pass()) {
-}
+ socket_factory_(socket_factory.Pass()) {}
HostPortAllocator::~HostPortAllocator() {
}
« no previous file with comments | « remoting/host/host_change_notification_listener_unittest.cc ('k') | remoting/host/log_to_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698