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

Side by Side Diff: net/proxy/mock_proxy_resolver.cc

Issue 19625002: Use a direct include of the message_loop header in net/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "net/proxy/mock_proxy_resolver.h" 5 #include "net/proxy/mock_proxy_resolver.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 MockAsyncProxyResolverBase::Request::Request( 12 MockAsyncProxyResolverBase::Request::Request(
13 MockAsyncProxyResolverBase* resolver, 13 MockAsyncProxyResolverBase* resolver,
14 const GURL& url, 14 const GURL& url,
15 ProxyInfo* results, 15 ProxyInfo* results,
16 const CompletionCallback& callback) 16 const CompletionCallback& callback)
17 : resolver_(resolver), 17 : resolver_(resolver),
18 url_(url), 18 url_(url),
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void MockAsyncProxyResolverBase::RemovePendingSetPacScriptRequest( 106 void MockAsyncProxyResolverBase::RemovePendingSetPacScriptRequest(
107 SetPacScriptRequest* request) { 107 SetPacScriptRequest* request) {
108 DCHECK_EQ(request, pending_set_pac_script_request()); 108 DCHECK_EQ(request, pending_set_pac_script_request());
109 pending_set_pac_script_request_.reset(); 109 pending_set_pac_script_request_.reset();
110 } 110 }
111 111
112 MockAsyncProxyResolverBase::MockAsyncProxyResolverBase(bool expects_pac_bytes) 112 MockAsyncProxyResolverBase::MockAsyncProxyResolverBase(bool expects_pac_bytes)
113 : ProxyResolver(expects_pac_bytes) {} 113 : ProxyResolver(expects_pac_bytes) {}
114 114
115 } // namespace net 115 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc ('k') | net/proxy/mock_proxy_script_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698