Chromium Code Reviews| Index: content/browser/plugin_service.cc |
| diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc |
| index 7f96debf54702948e0b39894b5adb26447f65b10..eeea722c423456d6bcb9cedce06d4fe8c01dc68e 100644 |
| --- a/content/browser/plugin_service.cc |
| +++ b/content/browser/plugin_service.cc |
| @@ -60,7 +60,7 @@ static void PurgePluginListCache(bool reload_pages) { |
| #if defined(OS_LINUX) |
| // Delegate class for monitoring directories. |
| -class PluginDirWatcherDelegate : public FilePathWatcher::Delegate { |
| +class PluginDirWatcherDelegate : public base::files::FilePathWatcher::Delegate { |
| virtual void OnFilePathChanged(const FilePath& path) OVERRIDE { |
| VLOG(1) << "Watched path changed: " << path.value(); |
| // Make the plugin list update itself |
| @@ -156,7 +156,7 @@ PluginService::PluginService() |
| &plugin_dirs); |
| for (size_t i = 0; i < plugin_dirs.size(); ++i) { |
| - FilePathWatcher* watcher = new FilePathWatcher(); |
| + base::files::FilePathWatcher* watcher = new base::files::FilePathWatcher(); |
|
dmac
2011/04/05 19:55:51
just realized that this should go under the #if de
Craig
2011/04/06 15:27:30
Done.
|
| // FilePathWatcher can not handle non-absolute paths under windows. |
| // We don't watch for file changes in windows now but if this should ever |
| // be extended to Windows these lines might save some time of debugging. |
| @@ -546,9 +546,9 @@ void PluginService::RegisterPepperPlugins() { |
| #if defined(OS_LINUX) |
| // static |
| void PluginService::RegisterFilePathWatcher( |
| - FilePathWatcher *watcher, |
| + base::files::FilePathWatcher *watcher, |
| const FilePath& path, |
| - FilePathWatcher::Delegate* delegate) { |
| + base::files::FilePathWatcher::Delegate* delegate) { |
| bool result = watcher->Watch(path, delegate); |
| DCHECK(result); |
| } |