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

Unified Diff: content/browser/plugin_service_impl.cc

Issue 1255073002: clang/win: Fix most -Wunused-function warnings in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 5 years, 5 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
Index: content/browser/plugin_service_impl.cc
diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc
index 02c6ff9f8fc0b93f084fadcf0e5359ce649d98c4..253c5c50209c5add2f5fdb1966aa709b7961cd51 100644
--- a/content/browser/plugin_service_impl.cc
+++ b/content/browser/plugin_service_impl.cc
@@ -107,7 +107,8 @@ void NotifyPluginsOfActivation() {
}
#endif
-#if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID)
+#if defined(OS_POSIX)
+#if !defined(OS_OPENBSD) && !defined(OS_ANDROID)
void NotifyPluginDirChanged(const base::FilePath& path, bool error) {
if (error) {
// TODO(pastarmovj): Add some sensible error handling. Maybe silently
@@ -123,13 +124,14 @@ void NotifyPluginDirChanged(const base::FilePath& path, bool error) {
base::Bind(&PluginService::PurgePluginListCache,
static_cast<BrowserContext*>(NULL), false));
}
-#endif
+#endif // !defined(OS_OPENBSD) && !defined(OS_ANDROID)
void ForwardCallback(base::SingleThreadTaskRunner* target_task_runner,
const PluginService::GetPluginsCallback& callback,
const std::vector<WebPluginInfo>& plugins) {
target_task_runner->PostTask(FROM_HERE, base::Bind(callback, plugins));
}
+#endif // defined(OS_POSIX)
} // namespace

Powered by Google App Engine
This is Rietveld 408576698