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

Unified Diff: chrome/browser/renderer_host/file_utilities_message_filter.h

Issue 6532073: Move core pieces of browser\renderer_host to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: chrome/browser/renderer_host/file_utilities_message_filter.h
===================================================================
--- chrome/browser/renderer_host/file_utilities_message_filter.h (revision 75488)
+++ chrome/browser/renderer_host/file_utilities_message_filter.h (working copy)
@@ -5,44 +5,7 @@
#ifndef CHROME_BROWSER_RENDERER_HOST_FILE_UTILITIES_MESSAGE_FILTER_H_
#define CHROME_BROWSER_RENDERER_HOST_FILE_UTILITIES_MESSAGE_FILTER_H_
-#include "base/basictypes.h"
-#include "base/file_path.h"
-#include "chrome/browser/browser_message_filter.h"
-#include "ipc/ipc_platform_file.h"
+// TODO(jam): remove this file when all files have been converted.
+#include "content/browser/renderer_host/file_utilities_message_filter.h"
-namespace base {
-struct PlatformFileInfo;
-}
-
-namespace IPC {
-class Message;
-}
-
-class FileUtilitiesMessageFilter : public BrowserMessageFilter {
- public:
- explicit FileUtilitiesMessageFilter(int process_id);
-
- // BrowserMessageFilter implementation.
- virtual void OverrideThreadForMessage(const IPC::Message& message,
- BrowserThread::ID* thread);
- virtual bool OnMessageReceived(const IPC::Message& message,
- bool* message_was_ok);
- private:
- ~FileUtilitiesMessageFilter();
-
- typedef void (*FileInfoWriteFunc)(IPC::Message* reply_msg,
- const base::PlatformFileInfo& file_info);
-
- void OnGetFileSize(const FilePath& path, int64* result);
- void OnGetFileModificationTime(const FilePath& path, base::Time* result);
- void OnOpenFile(const FilePath& path,
- int mode,
- IPC::PlatformFileForTransit* result);
-
- // The ID of this process.
- int process_id_;
-
- DISALLOW_IMPLICIT_CONSTRUCTORS(FileUtilitiesMessageFilter);
-};
-
#endif // CHROME_BROWSER_RENDERER_HOST_FILE_UTILITIES_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698