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

Unified Diff: content/browser/fileapi/fileapi_message_filter.h

Issue 12595005: Parsing filesystem url before giving it to media player (Closed) Base URL: svn://svn.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 side-by-side diff with in-line comments
Download patch
Index: content/browser/fileapi/fileapi_message_filter.h
diff --git a/content/browser/fileapi/fileapi_message_filter.h b/content/browser/fileapi/fileapi_message_filter.h
index 4f8ce5b8b74b0068906680fc8d42a8c8277dc8d5..1e8502b15c9f1a7d7a5d97d4835880d6ffa9762a 100644
--- a/content/browser/fileapi/fileapi_message_filter.h
+++ b/content/browser/fileapi/fileapi_message_filter.h
@@ -70,6 +70,13 @@ class FileAPIMessageFilter : public BrowserMessageFilter {
void UnregisterOperation(int request_id);
+ // Get the platform path from a file system URL. This needs to be called
+ // on the FILE thread.
+ static void SyncGetPlatformPath(fileapi::FileSystemContext* context,
+ int process_id,
+ const GURL& path,
+ base::FilePath* platform_path);
+
protected:
virtual ~FileAPIMessageFilter();

Powered by Google App Engine
This is Rietveld 408576698