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

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

Issue 10383229: Cleanup: Remove unneeded scoped_ptr.h includes from net. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 7 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/proxy/proxy_script_decider.h ('k') | net/server/web_socket.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SYNC_HOST_RESOLVER_BRIDGE_H_ 5 #ifndef NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_
6 #define NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_ 6 #define NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h"
10 #include "net/proxy/sync_host_resolver.h" 11 #include "net/proxy/sync_host_resolver.h"
11 12
12 class MessageLoop; 13 class MessageLoop;
13 14
14 namespace net { 15 namespace net {
15 16
16 // Wrapper around HostResolver to give a sync API while running the resolver 17 // Wrapper around HostResolver to give a sync API while running the resolver
17 // in async mode on |host_resolver_loop|. 18 // in async mode on |host_resolver_loop|.
18 class NET_EXPORT_PRIVATE SyncHostResolverBridge : public SyncHostResolver { 19 class NET_EXPORT_PRIVATE SyncHostResolverBridge : public SyncHostResolver {
19 public: 20 public:
(...skipping 16 matching lines...) Expand all
36 class Core; 37 class Core;
37 38
38 MessageLoop* const host_resolver_loop_; 39 MessageLoop* const host_resolver_loop_;
39 scoped_refptr<Core> core_; 40 scoped_refptr<Core> core_;
40 DISALLOW_COPY_AND_ASSIGN(SyncHostResolverBridge); 41 DISALLOW_COPY_AND_ASSIGN(SyncHostResolverBridge);
41 }; 42 };
42 43
43 } // namespace net 44 } // namespace net
44 45
45 #endif // NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_ 46 #endif // NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_script_decider.h ('k') | net/server/web_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698