Index: chrome/browser/renderer_host/chrome_render_message_filter.cc |
diff --git a/chrome/browser/renderer_host/chrome_render_message_filter.cc b/chrome/browser/renderer_host/chrome_render_message_filter.cc |
index ffc02235e6237c0f0cc077eee69323224881714a..b32c4417e49431e4d8478d6139abc74ed6e65f98 100644 |
--- a/chrome/browser/renderer_host/chrome_render_message_filter.cc |
+++ b/chrome/browser/renderer_host/chrome_render_message_filter.cc |
@@ -47,6 +47,7 @@ |
#endif |
using content::BrowserThread; |
+using extensions::APIPermission; |
using WebKit::WebCache; |
using WebKit::WebSecurityOrigin; |
@@ -496,7 +497,7 @@ void ChromeRenderMessageFilter::OnAllowIndexedDB(int render_view_id, |
void ChromeRenderMessageFilter::OnCanTriggerClipboardRead( |
const GURL& origin, bool* allowed) { |
*allowed = extension_info_map_->SecurityOriginHasAPIPermission( |
- origin, render_process_id_, ExtensionAPIPermission::kClipboardRead); |
+ origin, render_process_id_, APIPermission::kClipboardRead); |
} |
void ChromeRenderMessageFilter::OnCanTriggerClipboardWrite( |
@@ -505,7 +506,7 @@ void ChromeRenderMessageFilter::OnCanTriggerClipboardWrite( |
// for compatibility. |
*allowed = (origin.SchemeIs(chrome::kExtensionScheme) || |
extension_info_map_->SecurityOriginHasAPIPermission( |
- origin, render_process_id_, ExtensionAPIPermission::kClipboardWrite)); |
+ origin, render_process_id_, APIPermission::kClipboardWrite)); |
} |
void ChromeRenderMessageFilter::OnGetCookies( |