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

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

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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>
9 #include <string.h> 8 #include <string.h>
10 9
11 #include <string> 10 #include <string>
12 11
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "sandbox/linux/syscall_broker/broker_common.h" 13 #include "sandbox/linux/syscall_broker/broker_common.h"
15 14
16 namespace sandbox { 15 namespace sandbox {
17 16
18 namespace syscall_broker { 17 namespace syscall_broker {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 if (recursive_) { 234 if (recursive_) {
236 CHECK(last_char == '/') << GetErrorMessageForTests(); 235 CHECK(last_char == '/') << GetErrorMessageForTests();
237 } else { 236 } else {
238 CHECK(last_char != '/') << GetErrorMessageForTests(); 237 CHECK(last_char != '/') << GetErrorMessageForTests();
239 } 238 }
240 } 239 }
241 240
242 } // namespace syscall_broker 241 } // namespace syscall_broker
243 242
244 } // namespace sandbox 243 } // 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