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

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

Issue 33053002: Pepper: Move FileIO host from renderer to browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 1 month 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 85e2ad2ffb2575e357ea3b49484c7a335aa73991..d734e85d217b7d63f6db172dc8e47dc2b3a473a7 100644
--- a/content/browser/fileapi/fileapi_message_filter.h
+++ b/content/browser/fileapi/fileapi_message_filter.h
@@ -12,7 +12,6 @@
#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/files/file_util_proxy.h"
-#include "base/id_map.h"
#include "base/memory/ref_counted.h"
#include "base/memory/shared_memory.h"
#include "base/platform_file.h"
@@ -122,12 +121,6 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
const base::Time& last_access_time,
const base::Time& last_modified_time);
void OnCancel(int request_id, int request_to_cancel);
-#if defined(ENABLE_PLUGINS)
- void OnOpenPepperFile(int request_id, const GURL& path, int pp_open_flags);
-#endif // defined(ENABLE_PLUGINS)
- void OnNotifyCloseFile(int file_open_id);
- void OnWillUpdate(const GURL& path);
- void OnDidUpdate(const GURL& path, int64 delta);
void OnSyncGetPlatformPath(const GURL& path,
base::FilePath* platform_path);
void OnCreateSnapshotFile(int request_id,
@@ -178,12 +171,6 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
base::PlatformFileError result,
const std::vector<fileapi::DirectoryEntry>& entries,
bool has_more);
- void DidOpenFile(int request_id,
- quota::QuotaLimitType quota_policy,
- base::PlatformFileError result,
- base::PlatformFile file,
- const base::Closure& on_close_callback,
- base::ProcessHandle peer_handle);
void DidWrite(int request_id,
base::PlatformFileError result,
int64 bytes,
@@ -252,11 +239,6 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
std::map<int, scoped_refptr<webkit_blob::ShareableFileReference> >
in_transit_snapshot_files_;
- // Keep track of file system file opened by OpenFile() in this process.
- // Need to close all of them when the renderer process dies.
- typedef IDMap<base::Closure, IDMapOwnPointer> OnCloseCallbackMap;
- OnCloseCallbackMap on_close_callbacks_;
-
DISALLOW_COPY_AND_ASSIGN(FileAPIMessageFilter);
};
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698