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

Side by Side Diff: content/browser/frame_host/render_frame_message_filter.h

Issue 2156803002: [HBD] Remove PluginCache and reload plugin list when origin changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reload plugin list and send message with an url whenever origin changes Created 4 years, 4 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
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_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void OnRenderProcessGone(); 118 void OnRenderProcessGone();
119 119
120 // mojom::RenderFrameMessageFilter: 120 // mojom::RenderFrameMessageFilter:
121 void SetCookie(int32_t render_frame_id, 121 void SetCookie(int32_t render_frame_id,
122 const GURL& url, 122 const GURL& url,
123 const GURL& first_party_for_cookies, 123 const GURL& first_party_for_cookies,
124 const mojo::String& cookie) override; 124 const mojo::String& cookie) override;
125 125
126 126
127 #if defined(ENABLE_PLUGINS) 127 #if defined(ENABLE_PLUGINS)
128 void OnGetPlugins(bool refresh, IPC::Message* reply_msg); 128 void OnGetPlugins(bool refresh, GURL url, IPC::Message* reply_msg);
tommycli 2016/07/29 23:38:19 Since |url| is always the main frame origin, maybe
trizzofo 2016/08/01 23:36:14 Done.
129 void GetPluginsCallback(IPC::Message* reply_msg, 129 void GetPluginsCallback(IPC::Message* reply_msg,
130 GURL url,
130 const std::vector<WebPluginInfo>& plugins); 131 const std::vector<WebPluginInfo>& plugins);
131 void OnGetPluginInfo(int render_frame_id, 132 void OnGetPluginInfo(int render_frame_id,
132 const GURL& url, 133 const GURL& url,
133 const GURL& policy_url, 134 const GURL& policy_url,
134 const std::string& mime_type, 135 const std::string& mime_type,
135 bool* found, 136 bool* found,
136 WebPluginInfo* info, 137 WebPluginInfo* info,
137 std::string* actual_mime_type); 138 std::string* actual_mime_type);
138 void OnOpenChannelToPepperPlugin(const base::FilePath& path, 139 void OnOpenChannelToPepperPlugin(const base::FilePath& path,
139 IPC::Message* reply_msg); 140 IPC::Message* reply_msg);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 177
177 // Whether this process is used for incognito contents. 178 // Whether this process is used for incognito contents.
178 bool incognito_; 179 bool incognito_;
179 180
180 const int render_process_id_; 181 const int render_process_id_;
181 }; 182 };
182 183
183 } // namespace content 184 } // namespace content
184 185
185 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ 186 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698