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

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

Issue 12612011: Allow NaCl plugin to be loaded from hosted app URLs. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 const GURL& new_url, 158 const GURL& new_url,
159 const ExtensionSet& extensions, 159 const ExtensionSet& extensions,
160 bool is_extension_url, 160 bool is_extension_url,
161 bool is_initial_navigation); 161 bool is_initial_navigation);
162 162
163 static GURL GetNaClContentHandlerURL(const std::string& actual_mime_type, 163 static GURL GetNaClContentHandlerURL(const std::string& actual_mime_type,
164 const webkit::WebPluginInfo& plugin); 164 const webkit::WebPluginInfo& plugin);
165 static bool IsNaClAllowed(const GURL& manifest_url, 165 static bool IsNaClAllowed(const GURL& manifest_url,
166 const GURL& top_url, 166 const GURL& top_url,
167 bool is_nacl_unrestricted, 167 bool is_nacl_unrestricted,
168 bool is_extension_unrestricted, 168 const extensions::Extension* extension,
169 bool is_extension_from_webstore,
170 WebKit::WebPluginParams* params); 169 WebKit::WebPluginParams* params);
171 170
172 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_; 171 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_;
173 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; 172 scoped_ptr<extensions::Dispatcher> extension_dispatcher_;
174 scoped_ptr<RendererNetPredictor> net_predictor_; 173 scoped_ptr<RendererNetPredictor> net_predictor_;
175 scoped_ptr<SpellCheck> spellcheck_; 174 scoped_ptr<SpellCheck> spellcheck_;
176 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; 175 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_;
177 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 176 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
178 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 177 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
179 }; 178 };
180 179
181 } // namespace chrome 180 } // namespace chrome
182 181
183 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 182 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_nacl_browsertest.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698