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

Side by Side Diff: content/shell/browser/shell_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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/browser/shell_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 21 matching lines...) Expand all
32 webkit_database::DatabaseTracker* database_tracker, 32 webkit_database::DatabaseTracker* database_tracker,
33 quota::QuotaManager* quota_manager, 33 quota::QuotaManager* quota_manager,
34 net::URLRequestContextGetter* request_context_getter); 34 net::URLRequestContextGetter* request_context_getter);
35 35
36 private: 36 private:
37 virtual ~ShellMessageFilter(); 37 virtual ~ShellMessageFilter();
38 38
39 // BrowserMessageFilter implementation. 39 // BrowserMessageFilter implementation.
40 virtual void OverrideThreadForMessage(const IPC::Message& message, 40 virtual void OverrideThreadForMessage(const IPC::Message& message,
41 BrowserThread::ID* thread) OVERRIDE; 41 BrowserThread::ID* thread) OVERRIDE;
42 virtual bool OnMessageReceived(const IPC::Message& message, 42 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
43 bool* message_was_ok) OVERRIDE;
44 43
45 void OnReadFileToString(const base::FilePath& local_file, 44 void OnReadFileToString(const base::FilePath& local_file,
46 std::string* contents); 45 std::string* contents);
47 void OnRegisterIsolatedFileSystem( 46 void OnRegisterIsolatedFileSystem(
48 const std::vector<base::FilePath>& absolute_filenames, 47 const std::vector<base::FilePath>& absolute_filenames,
49 std::string* filesystem_id); 48 std::string* filesystem_id);
50 void OnClearAllDatabases(); 49 void OnClearAllDatabases();
51 void OnSetDatabaseQuota(int quota); 50 void OnSetDatabaseQuota(int quota);
52 void OnAcceptAllCookies(bool accept); 51 void OnAcceptAllCookies(bool accept);
53 void OnDeleteAllCookies(); 52 void OnDeleteAllCookies();
54 53
55 int render_process_id_; 54 int render_process_id_;
56 55
57 webkit_database::DatabaseTracker* database_tracker_; 56 webkit_database::DatabaseTracker* database_tracker_;
58 quota::QuotaManager* quota_manager_; 57 quota::QuotaManager* quota_manager_;
59 net::URLRequestContextGetter* request_context_getter_; 58 net::URLRequestContextGetter* request_context_getter_;
60 59
61 DISALLOW_COPY_AND_ASSIGN(ShellMessageFilter); 60 DISALLOW_COPY_AND_ASSIGN(ShellMessageFilter);
62 }; 61 };
63 62
64 } // namespace content 63 } // namespace content
65 64
66 #endif // CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_ 65 #endif // CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/browser/shell_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698