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

Side by Side Diff: net/proxy/proxy_service.h

Issue 7056049: Changes to have chrome building with net.dll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « net/base/net_util.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef NET_PROXY_PROXY_SERVICE_H_ 5 #ifndef NET_PROXY_PROXY_SERVICE_H_
6 #define NET_PROXY_PROXY_SERVICE_H_ 6 #define NET_PROXY_PROXY_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // stall re-configuration following an IP address change). 355 // stall re-configuration following an IP address change).
356 base::TimeTicks stall_proxy_autoconfig_until_; 356 base::TimeTicks stall_proxy_autoconfig_until_;
357 357
358 // The amount of time to stall requests following IP address changes. 358 // The amount of time to stall requests following IP address changes.
359 base::TimeDelta stall_proxy_auto_config_delay_; 359 base::TimeDelta stall_proxy_auto_config_delay_;
360 360
361 DISALLOW_COPY_AND_ASSIGN(ProxyService); 361 DISALLOW_COPY_AND_ASSIGN(ProxyService);
362 }; 362 };
363 363
364 // Wrapper for invoking methods on a ProxyService synchronously. 364 // Wrapper for invoking methods on a ProxyService synchronously.
365 class SyncProxyServiceHelper 365 class NET_API SyncProxyServiceHelper
366 : public base::RefCountedThreadSafe<SyncProxyServiceHelper> { 366 : public base::RefCountedThreadSafe<SyncProxyServiceHelper> {
367 public: 367 public:
368 SyncProxyServiceHelper(MessageLoop* io_message_loop, 368 SyncProxyServiceHelper(MessageLoop* io_message_loop,
369 ProxyService* proxy_service); 369 ProxyService* proxy_service);
370 370
371 int ResolveProxy(const GURL& url, 371 int ResolveProxy(const GURL& url,
372 ProxyInfo* proxy_info, 372 ProxyInfo* proxy_info,
373 const BoundNetLog& net_log); 373 const BoundNetLog& net_log);
374 int ReconsiderProxyAfterError(const GURL& url, 374 int ReconsiderProxyAfterError(const GURL& url,
375 ProxyInfo* proxy_info, 375 ProxyInfo* proxy_info,
(...skipping 14 matching lines...) Expand all
390 390
391 base::WaitableEvent event_; 391 base::WaitableEvent event_;
392 CompletionCallbackImpl<SyncProxyServiceHelper> callback_; 392 CompletionCallbackImpl<SyncProxyServiceHelper> callback_;
393 ProxyInfo proxy_info_; 393 ProxyInfo proxy_info_;
394 int result_; 394 int result_;
395 }; 395 };
396 396
397 } // namespace net 397 } // namespace net
398 398
399 #endif // NET_PROXY_PROXY_SERVICE_H_ 399 #endif // NET_PROXY_PROXY_SERVICE_H_
OLDNEW
« no previous file with comments | « net/base/net_util.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698