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

Unified Diff: chrome/browser/plugins/plugin_info_message_filter.cc

Issue 464533002: Move guest_view to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small changes are made in guest_view_manager_unittest.cc Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/plugins/plugin_info_message_filter.cc
diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc
index b091d458bccb721810b35e3f3f799dab9aa15d99..2eade2a4404477a2b730daee145efe56a9b37e04 100644
--- a/chrome/browser/plugins/plugin_info_message_filter.cc
+++ b/chrome/browser/plugins/plugin_info_message_filter.cc
@@ -247,7 +247,8 @@ void PluginInfoMessageFilter::Context::DecidePluginStatus(
CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
// NPAPI plugins are not supported inside <webview> guests.
#if defined(ENABLE_EXTENSIONS)
- if (WebViewRendererState::GetInstance()->IsGuest(render_process_id_)) {
+ if (extensions::WebViewRendererState::GetInstance()->IsGuest(
+ render_process_id_)) {
status->value =
ChromeViewHostMsg_GetPluginInfo_Status::kNPAPINotSupported;
return;
@@ -325,7 +326,8 @@ void PluginInfoMessageFilter::Context::DecidePluginStatus(
// and update the status as appropriate depending on the response from the
// embedder.
#if defined(ENABLE_EXTENSIONS)
- if (WebViewRendererState::GetInstance()->IsGuest(render_process_id_))
+ if (extensions::WebViewRendererState::GetInstance()->IsGuest(
+ render_process_id_))
status->value = ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized;
#endif
« no previous file with comments | « chrome/browser/guest_view/web_view/web_view_renderer_state.cc ('k') | chrome/browser/prerender/prerender_link_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698