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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 610fed1486e4b026d897187ab1eca1dc991cc28c..c0c6990fa5547b0c450dd12c445f8f9487cdea7b 100644
--- a/content/browser/fileapi/fileapi_message_filter.h
+++ b/content/browser/fileapi/fileapi_message_filter.h
@@ -18,10 +18,10 @@
#include "webkit/blob/blob_data.h"
#include "webkit/fileapi/file_system_types.h"
-class FilePath;
class GURL;
namespace base {
+class FilePath;
class Time;
}
@@ -113,7 +113,7 @@ class FileAPIMessageFilter : public BrowserMessageFilter {
void OnWillUpdate(const GURL& path);
void OnDidUpdate(const GURL& path, int64 delta);
void OnSyncGetPlatformPath(const GURL& path,
- FilePath* platform_path);
+ base::FilePath* platform_path);
void OnCreateSnapshotFile(int request_id,
const GURL& blob_url,
const GURL& path);
@@ -133,7 +133,7 @@ class FileAPIMessageFilter : public BrowserMessageFilter {
void DidGetMetadata(int request_id,
base::PlatformFileError result,
const base::PlatformFileInfo& info,
- const FilePath& platform_path);
+ const base::FilePath& platform_path);
void DidReadDirectory(int request_id,
base::PlatformFileError result,
const std::vector<base::FileUtilProxy::Entry>& entries,
@@ -155,17 +155,17 @@ class FileAPIMessageFilter : public BrowserMessageFilter {
base::PlatformFileError result);
void DidCreateSnapshot(
int request_id,
- const base::Callback<void(const FilePath&)>& register_file_callback,
+ const base::Callback<void(const base::FilePath&)>& register_file_callback,
base::PlatformFileError result,
const base::PlatformFileInfo& info,
- const FilePath& platform_path,
+ const base::FilePath& platform_path,
const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
// Registers the given file pointed by |virtual_path| and backed by
// |platform_path| as the |blob_url|. Called by DidCreateSnapshot.
void RegisterFileAsBlob(const GURL& blob_url,
const fileapi::FileSystemURL& url,
- const FilePath& platform_path);
+ const base::FilePath& platform_path);
// Checks renderer's access permissions for single file.
bool HasPermissionsForFile(const fileapi::FileSystemURL& url,
« no previous file with comments | « content/browser/download/save_file_manager.h ('k') | content/browser/in_process_webkit/indexed_db_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698