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

Side by Side Diff: sandbox/linux/syscall_broker/broker_file_permission.cc

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "sandbox/linux/syscall_broker/broker_file_permission.h" 5 #include "sandbox/linux/syscall_broker/broker_file_permission.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stddef.h>
8 #include <string.h> 9 #include <string.h>
9 10
10 #include <string> 11 #include <string>
11 12
12 #include "base/logging.h" 13 #include "base/logging.h"
13 #include "sandbox/linux/syscall_broker/broker_common.h" 14 #include "sandbox/linux/syscall_broker/broker_common.h"
14 15
15 namespace sandbox { 16 namespace sandbox {
16 17
17 namespace syscall_broker { 18 namespace syscall_broker {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 if (recursive_) { 235 if (recursive_) {
235 CHECK(last_char == '/') << GetErrorMessageForTests(); 236 CHECK(last_char == '/') << GetErrorMessageForTests();
236 } else { 237 } else {
237 CHECK(last_char != '/') << GetErrorMessageForTests(); 238 CHECK(last_char != '/') << GetErrorMessageForTests();
238 } 239 }
239 } 240 }
240 241
241 } // namespace syscall_broker 242 } // namespace syscall_broker
242 243
243 } // namespace sandbox 244 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/linux/syscall_broker/broker_client.cc ('k') | sandbox/linux/syscall_broker/broker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698