summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 12:13:38 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 12:13:38 +0000
commit29b43905596358a83807a3bd61a4b5c3049fb95b (patch)
treef4120456259b5f9ac6b710a224370b95398d4a62 /net
parentdb9ff48a9e853adc4f4ad7ee214a0e23a7297416 (diff)
downloadchromium_src-29b43905596358a83807a3bd61a4b5c3049fb95b.zip
chromium_src-29b43905596358a83807a3bd61a4b5c3049fb95b.tar.gz
chromium_src-29b43905596358a83807a3bd61a4b5c3049fb95b.tar.bz2
Revert 58684 - Fix SetOmniboxSpeculation in TcpClientSocket*
BUG=None TEST=None Review URL: http://codereview.chromium.org/3344010 TBR=cbentzel@chromium.org Review URL: http://codereview.chromium.org/3297014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/socket/tcp_client_socket_libevent.cc2
-rw-r--r--net/socket/tcp_client_socket_win.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/tcp_client_socket_libevent.cc b/net/socket/tcp_client_socket_libevent.cc
index 63bf149..15c3738 100644
--- a/net/socket/tcp_client_socket_libevent.cc
+++ b/net/socket/tcp_client_socket_libevent.cc
@@ -538,7 +538,7 @@ void TCPClientSocketLibevent::SetSubresourceSpeculation() {
}
void TCPClientSocketLibevent::SetOmniboxSpeculation() {
- use_history_.set_omnibox_speculation();
+ use_history_.set_subresource_speculation();
}
bool TCPClientSocketLibevent::WasEverUsed() const {
diff --git a/net/socket/tcp_client_socket_win.cc b/net/socket/tcp_client_socket_win.cc
index 21f3a92..1a1f308 100644
--- a/net/socket/tcp_client_socket_win.cc
+++ b/net/socket/tcp_client_socket_win.cc
@@ -521,7 +521,7 @@ void TCPClientSocketWin::SetSubresourceSpeculation() {
}
void TCPClientSocketWin::SetOmniboxSpeculation() {
- use_history_.set_omnibox_speculation();
+ use_history_.set_subresource_speculation();
}
bool TCPClientSocketWin::WasEverUsed() const {