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

Unified Diff: content/browser/plugin_service.cc

Issue 6825063: Patch for bug 74983 (among others) to be applied to M11 696 branch. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/696/src
Patch Set: intentionally disabled mac tests. tested by hand. Created 9 years, 8 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/browser/plugin_service.h ('k') | content/common/file_path_watcher/file_path_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « content/browser/plugin_service.h ('k') | content/common/file_path_watcher/file_path_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698