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

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: Address issues pointed in comments 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,
129 url::Origin main_frame_origin,
alexmos 2016/08/02 22:06:28 const url::Origin&, here and below?
trizzofo 2016/08/03 00:08:37 Done.
130 IPC::Message* reply_msg);
129 void GetPluginsCallback(IPC::Message* reply_msg, 131 void GetPluginsCallback(IPC::Message* reply_msg,
132 url::Origin main_frame_origin,
130 const std::vector<WebPluginInfo>& plugins); 133 const std::vector<WebPluginInfo>& plugins);
131 void OnGetPluginInfo(int render_frame_id, 134 void OnGetPluginInfo(int render_frame_id,
132 const GURL& url, 135 const GURL& url,
133 const GURL& policy_url, 136 const GURL& policy_url,
134 const std::string& mime_type, 137 const std::string& mime_type,
135 bool* found, 138 bool* found,
136 WebPluginInfo* info, 139 WebPluginInfo* info,
137 std::string* actual_mime_type); 140 std::string* actual_mime_type);
138 void OnOpenChannelToPepperPlugin(const base::FilePath& path, 141 void OnOpenChannelToPepperPlugin(const base::FilePath& path,
139 IPC::Message* reply_msg); 142 IPC::Message* reply_msg);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 179
177 // Whether this process is used for incognito contents. 180 // Whether this process is used for incognito contents.
178 bool incognito_; 181 bool incognito_;
179 182
180 const int render_process_id_; 183 const int render_process_id_;
181 }; 184 };
182 185
183 } // namespace content 186 } // namespace content
184 187
185 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ 188 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698