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

Side by Side Diff: chrome_frame/cfproxy.h

Issue 8567022: Cleanup: Remove forward declarations in various directories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « chrome/common/service_process_util.h ('k') | chrome_frame/chrome_active_document.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 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
10 #include <map> // for proxy factory 11 #include <map> // for proxy factory
11 #include <vector> 12 #include <vector>
12 #include <string> 13 #include <string>
14
13 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
14 #include "base/time.h" // for base::TimeDelta 16 #include "base/time.h" // for base::TimeDelta
15 #include "base/file_path.h" 17 #include "base/file_path.h"
16 #include "chrome/common/automation_constants.h" 18 #include "chrome/common/automation_constants.h"
17 #include "content/public/common/page_zoom.h" 19 #include "content/public/common/page_zoom.h"
18 #include "ipc/ipc_channel.h" 20 #include "ipc/ipc_channel.h"
19 21
20 class ChromeProxyDelegate; 22 class ChromeProxyDelegate;
21 class ChromeProxyFactory; 23 class ChromeProxyFactory;
22 class GURL; 24 class GURL;
23 struct AttachExternalTabParams;
24 struct AutomationURLRequest;
25 struct ContextMenuModel;
26 struct ExternalTabSettings; 25 struct ExternalTabSettings;
27 struct MiniContextMenuParams;
28 struct NavigationInfo;
29 struct ProxyParams; 26 struct ProxyParams;
30 27
31 namespace net {
32 class URLRequestStatus;
33 } // namespace net
34
35 // Some callers of synchronous messages wants a context to be passed back 28 // Some callers of synchronous messages wants a context to be passed back
36 // in order to identify the call they made. Presumably one can make 29 // in order to identify the call they made. Presumably one can make
37 // multiple sync calls of same type (as async) and want to identify what 30 // multiple sync calls of same type (as async) and want to identify what
38 // is what. 31 // is what.
39 struct SyncMessageContext { 32 struct SyncMessageContext {
40 virtual ~SyncMessageContext() {} 33 virtual ~SyncMessageContext() {}
41 }; 34 };
42 35
43 36
44 /* 37 /*
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params); 154 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params);
162 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile); 155 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile);
163 protected: 156 protected:
164 virtual ChromeProxy* CreateProxy(); 157 virtual ChromeProxy* CreateProxy();
165 typedef std::map<std::string, ChromeProxy*> ProxyMap; 158 typedef std::map<std::string, ChromeProxy*> ProxyMap;
166 ProxyMap proxies_; 159 ProxyMap proxies_;
167 base::Lock lock_; 160 base::Lock lock_;
168 }; 161 };
169 162
170 #endif // CHROME_FRAME_CFPROXY_H_ 163 #endif // CHROME_FRAME_CFPROXY_H_
OLDNEW
« no previous file with comments | « chrome/common/service_process_util.h ('k') | chrome_frame/chrome_active_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698