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

Unified Diff: content/common/plugin_list.cc

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 | « content/common/plugin_list.h ('k') | content/common/process_type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/plugin_list.cc
diff --git a/content/common/plugin_list.cc b/content/common/plugin_list.cc
index a0f9507ea9d42dc80c0240791dcd5655697544a0..7e8d1c2e355ef765513d9d01fbad2e4fab611e58 100644
--- a/content/common/plugin_list.cc
+++ b/content/common/plugin_list.cc
@@ -278,7 +278,7 @@ void PluginList::GetPluginPathsToLoad(std::vector<base::FilePath>* plugin_paths,
void PluginList::SetPlugins(const std::vector<WebPluginInfo>& plugins) {
base::AutoLock lock(lock_);
- // If we haven't been invalidated in the mean time, mark the plug-in list as
+ // If we haven't been invalidated in the mean time, mark the plugin list as
// up-to-date.
if (loading_state_ != LOADING_STATE_NEEDS_REFRESH)
loading_state_ = LOADING_STATE_UP_TO_DATE;
@@ -340,11 +340,11 @@ void PluginList::GetPluginInfoArray(
}
// Add in plugins by url.
- // We do not permit URL-sniff based plug-in MIME type overrides aside from
+ // We do not permit URL-sniff based plugin MIME type overrides aside from
// the case where the "type" was initially missing.
// We collected stats to determine this approach isn't a major compat issue,
// and we defend against content confusion attacks in various cases, such
- // as when the user doesn't have the Flash plug-in enabled.
+ // as when the user doesn't have the Flash plugin enabled.
std::string path = url.path();
std::string::size_type last_dot = path.rfind('.');
if (last_dot != std::string::npos && mime_type.empty()) {
« no previous file with comments | « content/common/plugin_list.h ('k') | content/common/process_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698