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

Side by Side Diff: trunk/src/chrome/renderer/chrome_content_renderer_client.h

Issue 60323002: Revert 232547 "Pepper: Move FileIO host from renderer to browser." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 std::string* cookies) OVERRIDE; 126 std::string* cookies) OVERRIDE;
127 virtual bool HandleSetCookieRequest(content::RenderView* sender, 127 virtual bool HandleSetCookieRequest(content::RenderView* sender,
128 const GURL& url, 128 const GURL& url,
129 const GURL& first_party_for_cookies, 129 const GURL& first_party_for_cookies,
130 const std::string& value) OVERRIDE; 130 const std::string& value) OVERRIDE;
131 virtual bool AllowBrowserPlugin( 131 virtual bool AllowBrowserPlugin(
132 WebKit::WebPluginContainer* container) OVERRIDE; 132 WebKit::WebPluginContainer* container) OVERRIDE;
133 virtual const void* CreatePPAPIInterface( 133 virtual const void* CreatePPAPIInterface(
134 const std::string& interface_name) OVERRIDE; 134 const std::string& interface_name) OVERRIDE;
135 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; 135 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE;
136 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate
137 // PPAPI FileIO host to browser.
138 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
139 WebKit::WebPluginContainer* container) OVERRIDE;
136 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( 140 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
137 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; 141 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE;
138 virtual bool ShouldReportDetailedMessageForSource( 142 virtual bool ShouldReportDetailedMessageForSource(
139 const base::string16& source) const OVERRIDE; 143 const base::string16& source) const OVERRIDE;
140 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; 144 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE;
141 virtual WebKit::WebWorkerPermissionClientProxy* 145 virtual WebKit::WebWorkerPermissionClientProxy*
142 CreateWorkerPermissionClientProxy(content::RenderView* render_view, 146 CreateWorkerPermissionClientProxy(content::RenderView* render_view,
143 WebKit::WebFrame* frame) OVERRIDE; 147 WebKit::WebFrame* frame) OVERRIDE;
144 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; 148 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE;
145 virtual void AddKeySystems( 149 virtual void AddKeySystems(
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 #if defined(ENABLE_SPELLCHECK) 214 #if defined(ENABLE_SPELLCHECK)
211 scoped_ptr<SpellCheck> spellcheck_; 215 scoped_ptr<SpellCheck> spellcheck_;
212 #endif 216 #endif
213 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 217 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
214 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 218 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
215 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 219 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
216 #if defined(ENABLE_WEBRTC) 220 #if defined(ENABLE_WEBRTC)
217 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 221 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
218 #endif 222 #endif
219 scoped_ptr<SearchBouncer> search_bouncer_; 223 scoped_ptr<SearchBouncer> search_bouncer_;
224
225 #if defined(ENABLE_PLUGINS)
226 std::set<std::string> allowed_file_handle_origins_;
227 #endif
220 }; 228 };
221 229
222 } // namespace chrome 230 } // namespace chrome
223 231
224 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 232 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698