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

Side by Side Diff: files/file_path_watcher_linux.cc

Issue 2043183002: Update to Chromium //base at Chromium commit 01cb97b2e09618bbc3a60c7348f0a844eea20547. (Closed) Base URL: https://github.com/domokit/base.git@master
Patch Set: Created 4 years, 6 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 | « file_descriptor_posix.h ('k') | i18n/case_conversion_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 <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>
(...skipping 10 matching lines...) Expand all
21 #include "base/containers/hash_tables.h" 21 #include "base/containers/hash_tables.h"
22 #include "base/files/file_enumerator.h" 22 #include "base/files/file_enumerator.h"
23 #include "base/files/file_path.h" 23 #include "base/files/file_path.h"
24 #include "base/files/file_util.h" 24 #include "base/files/file_util.h"
25 #include "base/lazy_instance.h" 25 #include "base/lazy_instance.h"
26 #include "base/location.h" 26 #include "base/location.h"
27 #include "base/logging.h" 27 #include "base/logging.h"
28 #include "base/memory/scoped_ptr.h" 28 #include "base/memory/scoped_ptr.h"
29 #include "base/posix/eintr_wrapper.h" 29 #include "base/posix/eintr_wrapper.h"
30 #include "base/single_thread_task_runner.h" 30 #include "base/single_thread_task_runner.h"
31 #include "base/stl_util.h"
31 #include "base/synchronization/lock.h" 32 #include "base/synchronization/lock.h"
32 #include "base/thread_task_runner_handle.h" 33 #include "base/thread_task_runner_handle.h"
33 #include "base/threading/thread.h" 34 #include "base/threading/thread.h"
34 #include "base/trace_event/trace_event.h" 35 #include "base/trace_event/trace_event.h"
35 36
36 namespace base { 37 namespace base {
37 38
38 namespace { 39 namespace {
39 40
40 class FilePathWatcherImpl; 41 class FilePathWatcherImpl;
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 return watches_[watches_.size() - 1].subdir.empty(); 678 return watches_[watches_.size() - 1].subdir.empty();
678 } 679 }
679 680
680 } // namespace 681 } // namespace
681 682
682 FilePathWatcher::FilePathWatcher() { 683 FilePathWatcher::FilePathWatcher() {
683 impl_ = new FilePathWatcherImpl(); 684 impl_ = new FilePathWatcherImpl();
684 } 685 }
685 686
686 } // namespace base 687 } // namespace base
OLDNEW
« no previous file with comments | « file_descriptor_posix.h ('k') | i18n/case_conversion_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698