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

Unified Diff: base/directory_watcher_win.cc

Issue 360042: First patch in making destructors of refcounted objects private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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: base/directory_watcher_win.cc
===================================================================
--- base/directory_watcher_win.cc (revision 30973)
+++ base/directory_watcher_win.cc (working copy)
@@ -15,7 +15,6 @@
public base::ObjectWatcher::Delegate {
public:
DirectoryWatcherImpl() : delegate_(NULL), handle_(INVALID_HANDLE_VALUE) {}
- virtual ~DirectoryWatcherImpl();
virtual bool Watch(const FilePath& path, DirectoryWatcher::Delegate* delegate,
MessageLoop* backend_loop, bool recursive);
@@ -24,6 +23,8 @@
virtual void OnObjectSignaled(HANDLE object);
private:
+ virtual ~DirectoryWatcherImpl();
+
// Delegate to notify upon changes.
DirectoryWatcher::Delegate* delegate_;
// Path we're watching (passed to delegate).
« no previous file with comments | « base/directory_watcher.h ('k') | base/field_trial.h » ('j') | base/field_trial.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698