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

Side by Side Diff: chrome_frame/cfproxy.h

Issue 7276037: Remove NPAPI support from Chrome Frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « no previous file | chrome_frame/chrome_frame.gyp » ('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 #include <map> // for proxy factory 10 #include <map> // for proxy factory
(...skipping 23 matching lines...) Expand all
34 // Some callers of synchronous messages wants a context to be passed back 34 // Some callers of synchronous messages wants a context to be passed back
35 // in order to identify the call they made. Presumably one can make 35 // in order to identify the call they made. Presumably one can make
36 // multiple sync calls of same type (as async) and want to identify what 36 // multiple sync calls of same type (as async) and want to identify what
37 // is what. 37 // is what.
38 struct SyncMessageContext { 38 struct SyncMessageContext {
39 virtual ~SyncMessageContext() {} 39 virtual ~SyncMessageContext() {}
40 }; 40 };
41 41
42 42
43 /* 43 /*
44 [npapi] UIDelegate (UI_THREAD) 44 [activex] UIDelegate (UI_THREAD)
45 [activex] <---------------+ 45 [activedoc] <---------------+
46 [activedoc] |
47 | 46 |
48 | ChromeProxy (UI_THREAD) 47 | ChromeProxy (UI_THREAD)
49 +----------------+ --------------> +-------+ 48 +----------------+ --------------> +-------+
50 URL_FETCHER <---------|ExternalTabProxy| |CFProxy| 49 URL_FETCHER <---------|ExternalTabProxy| |CFProxy|
51 +----------------+ +-------+ 50 +----------------+ +-------+
52 | 51 |
53 ^ | 52 ^ |
54 | | 53 | |
55 +-----------------------------+ 54 +-----------------------------+
56 55
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params); 160 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params);
162 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile); 161 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile);
163 protected: 162 protected:
164 virtual ChromeProxy* CreateProxy(); 163 virtual ChromeProxy* CreateProxy();
165 typedef std::map<std::string, ChromeProxy*> ProxyMap; 164 typedef std::map<std::string, ChromeProxy*> ProxyMap;
166 ProxyMap proxies_; 165 ProxyMap proxies_;
167 base::Lock lock_; 166 base::Lock lock_;
168 }; 167 };
169 168
170 #endif // CHROME_FRAME_CFPROXY_H_ 169 #endif // CHROME_FRAME_CFPROXY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/chrome_frame.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698