| Index: base/directory_watcher.h
|
| ===================================================================
|
| --- base/directory_watcher.h (revision 30973)
|
| +++ base/directory_watcher.h (working copy)
|
| @@ -46,9 +46,13 @@
|
| // Used internally to encapsulate different members on different platforms.
|
| class PlatformDelegate : public base::RefCounted<PlatformDelegate> {
|
| public:
|
| - virtual ~PlatformDelegate() {}
|
| virtual bool Watch(const FilePath& path, Delegate* delegate,
|
| MessageLoop* backend_loop, bool recursive) = 0;
|
| +
|
| + protected:
|
| + friend class base::RefCounted<PlatformDelegate>;
|
| +
|
| + virtual ~PlatformDelegate() {}
|
| };
|
|
|
| private:
|
|
|