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

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

Issue 1968723002: Fix include path for moved thread_task_runner_handle.h header in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « base/files/file_path_watcher_kqueue.cc ('k') | base/files/file_path_watcher_unittest.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 <stddef.h> 8 #include <stddef.h>
9 #include <string.h> 9 #include <string.h>
10 #include <sys/inotify.h> 10 #include <sys/inotify.h>
(...skipping 14 matching lines...) Expand all
25 #include "base/files/file_path.h" 25 #include "base/files/file_path.h"
26 #include "base/files/file_util.h" 26 #include "base/files/file_util.h"
27 #include "base/lazy_instance.h" 27 #include "base/lazy_instance.h"
28 #include "base/location.h" 28 #include "base/location.h"
29 #include "base/logging.h" 29 #include "base/logging.h"
30 #include "base/macros.h" 30 #include "base/macros.h"
31 #include "base/posix/eintr_wrapper.h" 31 #include "base/posix/eintr_wrapper.h"
32 #include "base/single_thread_task_runner.h" 32 #include "base/single_thread_task_runner.h"
33 #include "base/stl_util.h" 33 #include "base/stl_util.h"
34 #include "base/synchronization/lock.h" 34 #include "base/synchronization/lock.h"
35 #include "base/thread_task_runner_handle.h"
36 #include "base/threading/thread.h" 35 #include "base/threading/thread.h"
36 #include "base/threading/thread_task_runner_handle.h"
37 #include "base/trace_event/trace_event.h" 37 #include "base/trace_event/trace_event.h"
38 38
39 namespace base { 39 namespace base {
40 40
41 namespace { 41 namespace {
42 42
43 class FilePathWatcherImpl; 43 class FilePathWatcherImpl;
44 44
45 // Singleton to manage all inotify watches. 45 // Singleton to manage all inotify watches.
46 // TODO(tony): It would be nice if this wasn't a singleton. 46 // TODO(tony): It would be nice if this wasn't a singleton.
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 return watches_[watches_.size() - 1].subdir.empty(); 680 return watches_[watches_.size() - 1].subdir.empty();
681 } 681 }
682 682
683 } // namespace 683 } // namespace
684 684
685 FilePathWatcher::FilePathWatcher() { 685 FilePathWatcher::FilePathWatcher() {
686 impl_ = new FilePathWatcherImpl(); 686 impl_ = new FilePathWatcherImpl();
687 } 687 }
688 688
689 } // namespace base 689 } // namespace base
OLDNEW
« no previous file with comments | « base/files/file_path_watcher_kqueue.cc ('k') | base/files/file_path_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698