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

Side by Side Diff: content/browser/fileapi/fileapi_message_filter.h

Issue 292443004: Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill their child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 net::URLRequestContext* request_context, 72 net::URLRequestContext* request_context,
73 fileapi::FileSystemContext* file_system_context, 73 fileapi::FileSystemContext* file_system_context,
74 ChromeBlobStorageContext* blob_storage_context, 74 ChromeBlobStorageContext* blob_storage_context,
75 StreamContext* stream_context); 75 StreamContext* stream_context);
76 76
77 // BrowserMessageFilter implementation. 77 // BrowserMessageFilter implementation.
78 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 78 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
79 virtual void OnChannelClosing() OVERRIDE; 79 virtual void OnChannelClosing() OVERRIDE;
80 virtual base::TaskRunner* OverrideTaskRunnerForMessage( 80 virtual base::TaskRunner* OverrideTaskRunnerForMessage(
81 const IPC::Message& message) OVERRIDE; 81 const IPC::Message& message) OVERRIDE;
82 virtual bool OnMessageReceived(const IPC::Message& message, 82 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
83 bool* message_was_ok) OVERRIDE;
84 83
85 protected: 84 protected:
86 virtual ~FileAPIMessageFilter(); 85 virtual ~FileAPIMessageFilter();
87 86
88 virtual void BadMessageReceived() OVERRIDE; 87 virtual void BadMessageReceived() OVERRIDE;
89 88
90 private: 89 private:
91 typedef fileapi::FileSystemOperationRunner::OperationID OperationID; 90 typedef fileapi::FileSystemOperationRunner::OperationID OperationID;
92 91
93 void OnOpenFileSystem(int request_id, 92 void OnOpenFileSystem(int request_id,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // is being sent to the renderer. 240 // is being sent to the renderer.
242 std::map<int, scoped_refptr<webkit_blob::ShareableFileReference> > 241 std::map<int, scoped_refptr<webkit_blob::ShareableFileReference> >
243 in_transit_snapshot_files_; 242 in_transit_snapshot_files_;
244 243
245 DISALLOW_COPY_AND_ASSIGN(FileAPIMessageFilter); 244 DISALLOW_COPY_AND_ASSIGN(FileAPIMessageFilter);
246 }; 245 };
247 246
248 } // namespace content 247 } // namespace content
249 248
250 #endif // CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_ 249 #endif // CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_message_filter.cc ('k') | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698