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

Unified Diff: chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc

Issue 1696005: Add net log entries that summarize transmit and receive byte counts. (Closed)
Patch Set: More tests and address comments Created 10 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
« no previous file with comments | « chrome/browser/sync/notifier/communicator/ssl_socket_adapter.h ('k') | net/base/net_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc
diff --git a/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc b/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc
index 277e6fefde668d1021c8615680046afdc0c011f3..cd3e5f0364e8117e29a04d0a05703fa5027c7a9a 100644
--- a/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc
+++ b/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -102,7 +102,7 @@ int SSLSocketAdapter::BeginSSL() {
net::ClientSocketFactory::GetDefaultFactory()->CreateSSLClientSocket(
transport_socket_, hostname_.c_str(), ssl_config));
- int result = ssl_socket_->Connect(&connected_callback_, NULL);
+ int result = ssl_socket_->Connect(&connected_callback_);
if (result == net::ERR_IO_PENDING || result == net::OK) {
return 0;
@@ -238,8 +238,7 @@ TransportSocket::TransportSocket(talk_base::AsyncSocket* socket,
socket_->SignalConnectEvent.connect(this, &TransportSocket::OnConnectEvent);
}
-int TransportSocket::Connect(net::CompletionCallback* callback,
- const net::BoundNetLog& /* net_log */) {
+int TransportSocket::Connect(net::CompletionCallback* callback) {
connect_callback_ = callback;
return socket_->Connect(addr_);
}
« no previous file with comments | « chrome/browser/sync/notifier/communicator/ssl_socket_adapter.h ('k') | net/base/net_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698