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

Side by Side Diff: base/linux_util.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/linked_list.h ('k') | base/logging.h » ('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 #ifndef BASE_LINUX_UTIL_H_ 5 #ifndef BASE_LINUX_UTIL_H_
6 #define BASE_LINUX_UTIL_H_ 6 #define BASE_LINUX_UTIL_H_
7 #pragma once
8 7
9 #include <stdint.h> 8 #include <stdint.h>
10 #include <sys/types.h> 9 #include <sys/types.h>
11 10
12 #include <string> 11 #include <string>
13 12
14 #include "base/base_export.h" 13 #include "base/base_export.h"
15 14
16 namespace base { 15 namespace base {
17 16
(...skipping 26 matching lines...) Expand all
44 // |expected_data|, where N is the length of |expected_data|. 43 // |expected_data|, where N is the length of |expected_data|.
45 // Returns the thread id or -1 on error. If |syscall_supported| is 44 // Returns the thread id or -1 on error. If |syscall_supported| is
46 // set to false the kernel does not support syscall in procfs. 45 // set to false the kernel does not support syscall in procfs.
47 BASE_EXPORT pid_t FindThreadIDWithSyscall(pid_t pid, 46 BASE_EXPORT pid_t FindThreadIDWithSyscall(pid_t pid,
48 const std::string& expected_data, 47 const std::string& expected_data,
49 bool* syscall_supported); 48 bool* syscall_supported);
50 49
51 } // namespace base 50 } // namespace base
52 51
53 #endif // BASE_LINUX_UTIL_H_ 52 #endif // BASE_LINUX_UTIL_H_
OLDNEW
« no previous file with comments | « base/linked_list.h ('k') | base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698