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

Side by Side Diff: chrome/browser/net/preconnect.cc

Issue 3076013: Move ASCIIToWide and ASCIIToUTF16 to utf_string_conversions.h. I've found it... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/net/preconnect.h" 5 #include "chrome/browser/net/preconnect.h"
6 6
7 #include "base/histogram.h" 7 #include "base/histogram.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/string_util.h"
9 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
10 #include "chrome/browser/chrome_thread.h" 11 #include "chrome/browser/chrome_thread.h"
11 #include "chrome/common/net/url_request_context_getter.h" 12 #include "chrome/common/net/url_request_context_getter.h"
12 #include "net/base/host_port_pair.h" 13 #include "net/base/host_port_pair.h"
13 #include "net/http/http_network_session.h" 14 #include "net/http/http_network_session.h"
14 #include "net/http/http_transaction_factory.h" 15 #include "net/http/http_transaction_factory.h"
15 #include "net/proxy/proxy_service.h" 16 #include "net/proxy/proxy_service.h"
16 #include "net/url_request/url_request_context.h" 17 #include "net/url_request/url_request_context.h"
17 18
18 namespace chrome_browser_net { 19 namespace chrome_browser_net {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 handle.Init(group_name, tcp_params, net::LOWEST, callback_instance_, pool, 127 handle.Init(group_name, tcp_params, net::LOWEST, callback_instance_, pool,
127 net::BoundNetLog()); 128 net::BoundNetLog());
128 handle.Reset(); 129 handle.Reset();
129 } 130 }
130 131
131 void Preconnect::RunWithParams(const Tuple1<int>& params) { 132 void Preconnect::RunWithParams(const Tuple1<int>& params) {
132 // This will rarely be called, as we reset the connection just after creating. 133 // This will rarely be called, as we reset the connection just after creating.
133 NOTREACHED(); 134 NOTREACHED();
134 } 135 }
135 } // chrome_browser_net 136 } // chrome_browser_net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698