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

Side by Side Diff: chrome_frame/cfproxy.h

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 years, 11 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
« no previous file with comments | « chrome/test/test_url_request_context_getter.h ('k') | chrome_frame/chrome_frame_automation.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) 2010 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 CHROME_FRAME_CFPROXY_H_ 5 #ifndef CHROME_FRAME_CFPROXY_H_
6 #define CHROME_FRAME_CFPROXY_H_ 6 #define CHROME_FRAME_CFPROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 #include <map> // for proxy factory 10 #include <map> // for proxy factory
11 #include <vector> 11 #include <vector>
(...skipping 13 matching lines...) Expand all
25 SMALLEST_FONT = 8, 25 SMALLEST_FONT = 8,
26 SMALL_FONT = 12, 26 SMALL_FONT = 12,
27 MEDIUM_FONT = 16, 27 MEDIUM_FONT = 16,
28 LARGE_FONT = 24, 28 LARGE_FONT = 24,
29 LARGEST_FONT = 36 29 LARGEST_FONT = 36
30 }; 30 };
31 31
32 class ChromeProxyDelegate; 32 class ChromeProxyDelegate;
33 class ChromeProxyFactory; 33 class ChromeProxyFactory;
34 class GURL; 34 class GURL;
35 class URLRequestStatus;
36 struct AttachExternalTabParams; 35 struct AttachExternalTabParams;
37 struct AutomationURLRequest; 36 struct AutomationURLRequest;
38 struct ExternalTabSettings; 37 struct ExternalTabSettings;
39 struct MiniContextMenuParams; 38 struct MiniContextMenuParams;
40 struct NavigationInfo; 39 struct NavigationInfo;
41 struct ProxyParams; 40 struct ProxyParams;
42 41
42 namespace net {
43 class URLRequestStatus;
44 } // namespace net
45
43 // Some callers of synchronous messages wants a context to be passed back 46 // Some callers of synchronous messages wants a context to be passed back
44 // in order to identify the call they made. Presumably one can make 47 // in order to identify the call they made. Presumably one can make
45 // multiple sync calls of same type (as async) and want to identify what 48 // multiple sync calls of same type (as async) and want to identify what
46 // is what. 49 // is what.
47 struct SyncMessageContext { 50 struct SyncMessageContext {
48 virtual ~SyncMessageContext() {} 51 virtual ~SyncMessageContext() {}
49 }; 52 };
50 53
51 54
52 /* 55 /*
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params); 189 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params);
187 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile); 190 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile);
188 protected: 191 protected:
189 virtual ChromeProxy* CreateProxy(); 192 virtual ChromeProxy* CreateProxy();
190 typedef std::map<std::string, ChromeProxy*> ProxyMap; 193 typedef std::map<std::string, ChromeProxy*> ProxyMap;
191 ProxyMap proxies_; 194 ProxyMap proxies_;
192 Lock lock_; 195 Lock lock_;
193 }; 196 };
194 197
195 #endif // CHROME_FRAME_CFPROXY_H_ 198 #endif // CHROME_FRAME_CFPROXY_H_
OLDNEW
« no previous file with comments | « chrome/test/test_url_request_context_getter.h ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698