| Index: content/browser/plugin_service.cc
|
| diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc
|
| index 4e68f2342fe11c3fb6bfbe0641e65805a91d3e9b..f19ced1870a616809ecc0f468bc71aaf476ce936 100644
|
| --- a/content/browser/plugin_service.cc
|
| +++ b/content/browser/plugin_service.cc
|
| @@ -7,6 +7,7 @@
|
| #include <vector>
|
|
|
| #include "base/command_line.h"
|
| +#include "base/compiler_specific.h"
|
| #include "base/path_service.h"
|
| #include "base/string_util.h"
|
| #include "base/threading/thread.h"
|
| @@ -63,12 +64,12 @@ static void PurgePluginListCache(bool reload_pages) {
|
| #if defined(OS_LINUX)
|
| // Delegate class for monitoring directories.
|
| class PluginDirWatcherDelegate : public FilePathWatcher::Delegate {
|
| - virtual void OnFilePathChanged(const FilePath& path) {
|
| + virtual void OnFilePathChanged(const FilePath& path) OVERRIDE {
|
| VLOG(1) << "Watched path changed: " << path.value();
|
| // Make the plugin list update itself
|
| webkit::npapi::PluginList::Singleton()->RefreshPlugins();
|
| }
|
| - virtual void OnError() {
|
| + virtual void OnFilePathError(const FilePath& path) OVERRIDE {
|
| // TODO(pastarmovj): Add some sensible error handling. Maybe silently
|
| // stopping the watcher would be enough. Or possibly restart it.
|
| NOTREACHED();
|
|
|