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

Unified Diff: chrome/browser/plugins/plugin_prefs.h

Issue 1007443004: Plugin Power Saver: Replace all "plug-in" with "plugin" for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove terms and native_client_sdk changes. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/plugins/plugin_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_prefs.h
diff --git a/chrome/browser/plugins/plugin_prefs.h b/chrome/browser/plugins/plugin_prefs.h
index 7a797c085c1b4a96ef939745375d0d6e3748b780..d95db2d19ede600236fcbef7e0ae308184abe690 100644
--- a/chrome/browser/plugins/plugin_prefs.h
+++ b/chrome/browser/plugins/plugin_prefs.h
@@ -27,7 +27,7 @@ namespace content {
struct WebPluginInfo;
}
-// This class stores information about whether a plug-in or a plug-in group is
+// This class stores information about whether a plugin or a plugin group is
// enabled or disabled.
// Except where otherwise noted, it can be used on every thread.
class PluginPrefs : public RefcountedKeyedService {
@@ -57,15 +57,15 @@ class PluginPrefs : public RefcountedKeyedService {
// Enable or disable a plugin group.
void EnablePluginGroup(bool enable, const base::string16& group_name);
- // Enables or disables a specific plug-in file, if possible.
- // If the plug-in state can't be changed (because of a policy for example)
- // then enabling/disabling the plug-in is ignored and |callback| is run
- // with 'false' passed to it. Otherwise the plug-in state is changed
+ // Enables or disables a specific plugin file, if possible.
+ // If the plugin state can't be changed (because of a policy for example)
+ // then enabling/disabling the plugin is ignored and |callback| is run
+ // with 'false' passed to it. Otherwise the plugin state is changed
// and |callback| is run with 'true' passed to it.
void EnablePlugin(bool enable, const base::FilePath& file_path,
const base::Callback<void(bool)>& callback);
- // Returns whether there is a policy enabling or disabling plug-ins of the
+ // Returns whether there is a policy enabling or disabling plugins of the
// given name.
PolicyStatus PolicyStatusForPlugin(const base::string16& name) const;
@@ -107,7 +107,7 @@ class PluginPrefs : public RefcountedKeyedService {
void UpdatePatternsAndNotify(std::set<base::string16>* patterns,
const std::string& pref_name);
- // Allows unit tests to directly set enforced plug-in patterns.
+ // Allows unit tests to directly set enforced plugin patterns.
void SetPolicyEnforcedPluginPatterns(
const std::set<base::string16>& disabled_patterns,
const std::set<base::string16>& disabled_exception_patterns,
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/plugins/plugin_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698