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

Unified Diff: base/files/file_path_watcher_kqueue.cc

Issue 8393013: rename file_path_watcher_mac to file_path_watcher_kqueue (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 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 | « base/base.gypi ('k') | base/files/file_path_watcher_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path_watcher_kqueue.cc
diff --git a/base/files/file_path_watcher_mac.cc b/base/files/file_path_watcher_kqueue.cc
similarity index 99%
rename from base/files/file_path_watcher_mac.cc
rename to base/files/file_path_watcher_kqueue.cc
index 3413e8aaa231bc629b061e07b7757ea289263825..d4ddb7dae62f7817a60e5faab621043fa8c06973 100644
--- a/base/files/file_path_watcher_mac.cc
+++ b/base/files/file_path_watcher_kqueue.cc
@@ -16,6 +16,14 @@
#include "base/message_loop_proxy.h"
#include "base/stringprintf.h"
+// On some platforms these are not defined.
+#if !defined(EV_RECEIPT)
+#define EV_RECEIPT 0
+#endif
+#if !defined(O_EVTONLY)
+#define O_EVTONLY O_RDONLY
+#endif
+
namespace base {
namespace files {
« no previous file with comments | « base/base.gypi ('k') | base/files/file_path_watcher_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698