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

Unified Diff: chrome/browser/extensions/extension_clear_api.cc

Issue 8907018: Renaming REMOVE_LSO_DATA to REMOVE_PLUGIN_DATA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
Index: chrome/browser/extensions/extension_clear_api.cc
diff --git a/chrome/browser/extensions/extension_clear_api.cc b/chrome/browser/extensions/extension_clear_api.cc
index 80b69adde81cabd55a2fe74be554abef1e817029..71a6bb1479d5e57c168bd4fc62494193f9406d5b 100644
--- a/chrome/browser/extensions/extension_clear_api.cc
+++ b/chrome/browser/extensions/extension_clear_api.cc
@@ -103,14 +103,14 @@ bool BrowsingDataExtensionFunction::RunImpl() {
removal_mask_ = GetRemovalMask();
- if (removal_mask_ & BrowsingDataRemover::REMOVE_LSO_DATA) {
- // If we're being asked to remove LSO data, check whether it's actually
+ if (removal_mask_ & BrowsingDataRemover::REMOVE_PLUGIN_DATA) {
+ // If we're being asked to remove plugin data, check whether it's actually
// supported.
Profile* profile = GetCurrentBrowser()->profile();
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
base::Bind(
- &BrowsingDataExtensionFunction::CheckRemovingLSODataSupported,
+ &BrowsingDataExtensionFunction::CheckRemovingPluginDataSupported,
this,
make_scoped_refptr(PluginPrefs::GetForProfile(profile))));
} else {
@@ -121,10 +121,10 @@ bool BrowsingDataExtensionFunction::RunImpl() {
return true;
}
-void BrowsingDataExtensionFunction::CheckRemovingLSODataSupported(
+void BrowsingDataExtensionFunction::CheckRemovingPluginDataSupported(
scoped_refptr<PluginPrefs> plugin_prefs) {
if (!PluginDataRemoverHelper::IsSupported(plugin_prefs))
- removal_mask_ &= ~BrowsingDataRemover::REMOVE_LSO_DATA;
+ removal_mask_ &= ~BrowsingDataRemover::REMOVE_PLUGIN_DATA;
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
« no previous file with comments | « chrome/browser/extensions/extension_clear_api.h ('k') | chrome/browser/ui/webui/options/clear_browser_data_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698