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

Side by Side Diff: chrome/common/plugin_utils.h

Issue 2367553002: [HBD] Merge two identical ShouldUseJavaScriptSettingForPlugin impls (Closed)
Patch Set: merge origin/master Created 4 years, 2 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_PLUGIN_UTILS_H_
6 #define CHROME_COMMON_PLUGIN_UTILS_H_
7
8 namespace content {
9 struct WebPluginInfo;
10 }
11
12 // Only Flash should use the Plugin content setting.
Lei Zhang 2016/09/23 05:00:52 This mentions Flash, but the impl doesn't check fo
xhwang 2016/09/23 16:42:17 +1 And JavaScriptSettingForPlugin isn't always se
tommycli 2016/09/23 16:46:45 Done. Updated the comment. Sorry, this leaked int
13 bool ShouldUseJavaScriptSettingForPlugin(const content::WebPluginInfo& plugin);
14
15 #endif // CHROME_COMMON_PLUGIN_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698