OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/linux_util.h" | 5 #include "base/linux_util.h" |
6 | 6 |
7 #include <dirent.h> | 7 #include <dirent.h> |
8 #include <errno.h> | 8 #include <errno.h> |
9 #include <fcntl.h> | 9 #include <fcntl.h> |
10 #include <glib.h> | 10 #include <glib.h> |
11 #include <stdlib.h> | 11 #include <stdlib.h> |
12 #include <sys/stat.h> | 12 #include <sys/stat.h> |
13 #include <sys/stat.h> | |
14 #include <sys/types.h> | 13 #include <sys/types.h> |
15 #include <unistd.h> | 14 #include <unistd.h> |
16 | 15 |
17 #include <vector> | 16 #include <vector> |
18 | 17 |
19 #include "base/command_line.h" | 18 #include "base/command_line.h" |
20 #include "base/file_util.h" | 19 #include "base/file_util.h" |
21 #include "base/lock.h" | 20 #include "base/lock.h" |
22 #include "base/path_service.h" | 21 #include "base/path_service.h" |
23 #include "base/process_util.h" | 22 #include "base/process_util.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 | 288 |
290 if (0 == strncmp(expected_data.c_str(), syscall_data.get(), | 289 if (0 == strncmp(expected_data.c_str(), syscall_data.get(), |
291 expected_data.length())) { | 290 expected_data.length())) { |
292 return current_tid; | 291 return current_tid; |
293 } | 292 } |
294 } | 293 } |
295 return -1; | 294 return -1; |
296 } | 295 } |
297 | 296 |
298 } // namespace base | 297 } // namespace base |
OLD | NEW |