Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_FILE_PATH_WATCHER_CALLBACK_H_ | 5 #ifndef NET_DNS_FILE_PATH_WATCHER_WRAPPER_H_ |
|
Mark Mentovai
2012/04/17 19:53:54
Ha, nice catch.
| |
| 6 #define NET_FILE_PATH_WATCHER_WRAPPER_H_ | 6 #define NET_DNS_FILE_PATH_WATCHER_WRAPPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 void OnFilePathError(); | 55 void OnFilePathError(); |
| 56 | 56 |
| 57 base::Callback<void(bool succeeded)> callback_; | 57 base::Callback<void(bool succeeded)> callback_; |
| 58 scoped_ptr<base::files::FilePathWatcher> watcher_; | 58 scoped_ptr<base::files::FilePathWatcher> watcher_; |
| 59 scoped_refptr<WatcherDelegate> delegate_; | 59 scoped_refptr<WatcherDelegate> delegate_; |
| 60 DISALLOW_COPY_AND_ASSIGN(FilePathWatcherWrapper); | 60 DISALLOW_COPY_AND_ASSIGN(FilePathWatcherWrapper); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace net | 63 } // namespace net |
| 64 | 64 |
| 65 #endif // NET_FILE_PATH_WATCHER_CALLBACK_H_ | 65 #endif // NET_DNS_FILE_PATH_WATCHER_WRAPPER_H_ |
| 66 | 66 |
| OLD | NEW |