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

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

Issue 1549853002: Switch to standard integer types in base/files/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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.h ('k') | base/files/file_path_watcher_linux.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_kqueue.h" 5 #include "base/files/file_path_watcher_kqueue.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stddef.h>
8 #include <sys/param.h> 9 #include <sys/param.h>
9 10
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
12 #include "base/logging.h" 13 #include "base/logging.h"
13 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
14 #include "base/thread_task_runner_handle.h" 15 #include "base/thread_task_runner_handle.h"
15 16
16 // On some platforms these are not defined. 17 // On some platforms these are not defined.
17 #if !defined(EV_RECEIPT) 18 #if !defined(EV_RECEIPT)
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 kqueue_ = -1; 382 kqueue_ = -1;
382 std::for_each(events_.begin(), events_.end(), ReleaseEvent); 383 std::for_each(events_.begin(), events_.end(), ReleaseEvent);
383 events_.clear(); 384 events_.clear();
384 io_task_runner_ = NULL; 385 io_task_runner_ = NULL;
385 MessageLoop::current()->RemoveDestructionObserver(this); 386 MessageLoop::current()->RemoveDestructionObserver(this);
386 callback_.Reset(); 387 callback_.Reset();
387 } 388 }
388 } 389 }
389 390
390 } // namespace base 391 } // namespace base
OLDNEW
« no previous file with comments | « base/files/file_path_watcher_kqueue.h ('k') | base/files/file_path_watcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698