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

Side by Side Diff: base/files/file_path_watcher_linux.cc

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/files/dir_reader_linux.h ('k') | base/logging.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "base/files/file_path_watcher.h" 5 #include "base/files/file_path_watcher.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <string.h> 8 #include <string.h>
9 #include <sys/inotify.h> 9 #include <sys/inotify.h>
10 #include <sys/ioctl.h> 10 #include <sys/ioctl.h>
11 #include <sys/select.h> 11 #include <sys/select.h>
12 #include <unistd.h> 12 #include <unistd.h>
13 13
14 #include <algorithm> 14 #include <algorithm>
15 #include <set> 15 #include <set>
16 #include <utility> 16 #include <utility>
17 #include <vector> 17 #include <vector>
18 18
19 #include "base/bind.h" 19 #include "base/bind.h"
20 #include "base/eintr_wrapper.h"
21 #include "base/file_path.h" 20 #include "base/file_path.h"
22 #include "base/file_util.h" 21 #include "base/file_util.h"
23 #include "base/hash_tables.h" 22 #include "base/hash_tables.h"
24 #include "base/lazy_instance.h" 23 #include "base/lazy_instance.h"
25 #include "base/location.h" 24 #include "base/location.h"
26 #include "base/logging.h" 25 #include "base/logging.h"
27 #include "base/memory/scoped_ptr.h" 26 #include "base/memory/scoped_ptr.h"
28 #include "base/message_loop.h" 27 #include "base/message_loop.h"
29 #include "base/message_loop_proxy.h" 28 #include "base/message_loop_proxy.h"
29 #include "base/posix/eintr_wrapper.h"
30 #include "base/synchronization/lock.h" 30 #include "base/synchronization/lock.h"
31 #include "base/threading/thread.h" 31 #include "base/threading/thread.h"
32 32
33 namespace base { 33 namespace base {
34 namespace files { 34 namespace files {
35 35
36 namespace { 36 namespace {
37 37
38 class FilePathWatcherImpl; 38 class FilePathWatcherImpl;
39 39
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 } 474 }
475 475
476 } // namespace 476 } // namespace
477 477
478 FilePathWatcher::FilePathWatcher() { 478 FilePathWatcher::FilePathWatcher() {
479 impl_ = new FilePathWatcherImpl(); 479 impl_ = new FilePathWatcherImpl();
480 } 480 }
481 481
482 } // namespace files 482 } // namespace files
483 } // namespace base 483 } // namespace base
OLDNEW
« no previous file with comments | « base/files/dir_reader_linux.h ('k') | base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698