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

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

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years 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 "net/proxy/sync_host_resolver_bridge.h" 5 #include "net/proxy/sync_host_resolver_bridge.h"
6 6
7 #include "base/thread.h" 7 #include "base/thread.h"
8 #include "base/waitable_event.h" 8 #include "base/waitable_event.h"
9 #include "net/base/address_list.h" 9 #include "net/base/address_list.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } 102 }
103 103
104 virtual void CancelRequest(RequestHandle request) { 104 virtual void CancelRequest(RequestHandle request) {
105 NOTREACHED(); 105 NOTREACHED();
106 } 106 }
107 107
108 virtual void Shutdown() { 108 virtual void Shutdown() {
109 host_resolver_->Shutdown(); 109 host_resolver_->Shutdown();
110 } 110 }
111 111
112 virtual void CancelSetPacScript() {
113 NOTREACHED();
114 }
115
112 virtual int SetPacScript( 116 virtual int SetPacScript(
113 const scoped_refptr<ProxyResolverScriptData>& script_data, 117 const scoped_refptr<ProxyResolverScriptData>& script_data,
114 CompletionCallback* callback) { 118 CompletionCallback* callback) {
115 return OK; 119 return OK;
116 } 120 }
117 121
118 private: 122 private:
119 SyncHostResolverBridge* const host_resolver_; 123 SyncHostResolverBridge* const host_resolver_;
120 }; 124 };
121 125
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // stop the IOThread, which will in turn delete the 225 // stop the IOThread, which will in turn delete the
222 // SingleThreadedProxyResolver, which in turn will stop its internal 226 // SingleThreadedProxyResolver, which in turn will stop its internal
223 // PAC thread (which is currently blocked waiting on the host resolve which 227 // PAC thread (which is currently blocked waiting on the host resolve which
224 // is running on IOThread). The IOThread::Cleanup() will verify that after 228 // is running on IOThread). The IOThread::Cleanup() will verify that after
225 // the PAC thread is stopped, it cancels the request on the HostResolver. 229 // the PAC thread is stopped, it cancels the request on the HostResolver.
226 } 230 }
227 231
228 } // namespace 232 } // namespace
229 233
230 } // namespace net 234 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698