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

Side by Side Diff: chrome/browser/plugins/plugin_info_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 CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const HostContentSettingsMap* host_content_settings_map_; 71 const HostContentSettingsMap* host_content_settings_map_;
72 scoped_refptr<PluginPrefs> plugin_prefs_; 72 scoped_refptr<PluginPrefs> plugin_prefs_;
73 73
74 BooleanPrefMember allow_outdated_plugins_; 74 BooleanPrefMember allow_outdated_plugins_;
75 BooleanPrefMember always_authorize_plugins_; 75 BooleanPrefMember always_authorize_plugins_;
76 }; 76 };
77 77
78 PluginInfoMessageFilter(int render_process_id, Profile* profile); 78 PluginInfoMessageFilter(int render_process_id, Profile* profile);
79 79
80 // content::BrowserMessageFilter methods: 80 // content::BrowserMessageFilter methods:
81 virtual bool OnMessageReceived(const IPC::Message& message, 81 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
82 bool* message_was_ok) OVERRIDE;
83 virtual void OnDestruct() const OVERRIDE; 82 virtual void OnDestruct() const OVERRIDE;
84 83
85 private: 84 private:
86 friend struct content::BrowserThread::DeleteOnThread< 85 friend struct content::BrowserThread::DeleteOnThread<
87 content::BrowserThread::UI>; 86 content::BrowserThread::UI>;
88 friend class base::DeleteHelper<PluginInfoMessageFilter>; 87 friend class base::DeleteHelper<PluginInfoMessageFilter>;
89 88
90 virtual ~PluginInfoMessageFilter(); 89 virtual ~PluginInfoMessageFilter();
91 90
92 void OnGetPluginInfo(int render_frame_id, 91 void OnGetPluginInfo(int render_frame_id,
(...skipping 21 matching lines...) Expand all
114 std::vector<base::string16>* additional_param_values); 113 std::vector<base::string16>* additional_param_values);
115 114
116 Context context_; 115 Context context_;
117 116
118 base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_; 117 base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_;
119 118
120 DISALLOW_COPY_AND_ASSIGN(PluginInfoMessageFilter); 119 DISALLOW_COPY_AND_ASSIGN(PluginInfoMessageFilter);
121 }; 120 };
122 121
123 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ 122 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc_logging_handler_host.cc ('k') | chrome/browser/plugins/plugin_info_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698