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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 13032002: Add RequestOSFileHandle as a private PPAPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix test 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 side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index b12633ca637ad7f19b5263bc707c2ef92b6cb66d..2828c9c50f9ccffe3d814f3eb9769d6695b66fbd 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -235,6 +235,9 @@ class CONTENT_EXPORT ContentRendererClient {
// Allow the embedder to disable input event filtering by the compositor.
virtual bool ShouldCreateCompositorInputHandler() const;
+
+ // Check if we can allow RequestOSFileHandle API access for |url|.
+ virtual bool IsRequestOSFileHandleAllowedForURL(const GURL& url) const;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698