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

Side by Side Diff: content/plugin/webplugin_proxy.h

Issue 7791005: Stop using the default profile's proxy service for plugin proxy requests, and instead use the ass... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix test Created 9 years, 3 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 | « content/plugin/plugin_thread.cc ('k') | content/plugin/webplugin_proxy.cc » ('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 CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #if defined(OS_WIN) 66 #if defined(OS_WIN)
67 void SetWindowlessPumpEvent(HANDLE pump_messages_event); 67 void SetWindowlessPumpEvent(HANDLE pump_messages_event);
68 void ReparentPluginWindow(HWND window, HWND parent); 68 void ReparentPluginWindow(HWND window, HWND parent);
69 #endif 69 #endif
70 70
71 virtual void CancelResource(unsigned long id); 71 virtual void CancelResource(unsigned long id);
72 virtual void Invalidate(); 72 virtual void Invalidate();
73 virtual void InvalidateRect(const gfx::Rect& rect); 73 virtual void InvalidateRect(const gfx::Rect& rect);
74 virtual NPObject* GetWindowScriptNPObject(); 74 virtual NPObject* GetWindowScriptNPObject();
75 virtual NPObject* GetPluginElement(); 75 virtual NPObject* GetPluginElement();
76 virtual bool FindProxyForUrl(const GURL& url, std::string* proxy_list);
76 virtual void SetCookie(const GURL& url, 77 virtual void SetCookie(const GURL& url,
77 const GURL& first_party_for_cookies, 78 const GURL& first_party_for_cookies,
78 const std::string& cookie); 79 const std::string& cookie);
79 virtual std::string GetCookies(const GURL& url, 80 virtual std::string GetCookies(const GURL& url,
80 const GURL& first_party_for_cookies); 81 const GURL& first_party_for_cookies);
81 82
82 virtual void OnMissingPluginStatus(int status); 83 virtual void OnMissingPluginStatus(int status);
83 // class-specific methods 84 // class-specific methods
84 85
85 // Returns a WebPluginResourceClient object given its id, or NULL if no 86 // Returns a WebPluginResourceClient object given its id, or NULL if no
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 264
264 #endif 265 #endif
265 266
266 // Contains the routing id of the host render view. 267 // Contains the routing id of the host render view.
267 int host_render_view_routing_id_; 268 int host_render_view_routing_id_;
268 269
269 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; 270 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_;
270 }; 271 };
271 272
272 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 273 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698