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

Side by Side Diff: sandbox/linux/seccomp/sandbox_impl.h

Issue 3014015: Remove <iostream> where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix chrome frame compile Created 10 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
« no previous file with comments | « sandbox/linux/seccomp/maps.cc ('k') | no next file » | 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) 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 #ifndef SANDBOX_IMPL_H__ 5 #ifndef SANDBOX_IMPL_H__
6 #define SANDBOX_IMPL_H__ 6 #define SANDBOX_IMPL_H__
7 7
8 #include <asm/ldt.h> 8 #include <asm/ldt.h>
9 #include <errno.h> 9 #include <errno.h>
10 #include <fcntl.h> 10 #include <fcntl.h>
(...skipping 16 matching lines...) Expand all
27 #include <sys/stat.h> 27 #include <sys/stat.h>
28 #include <sys/time.h> 28 #include <sys/time.h>
29 #include <sys/types.h> 29 #include <sys/types.h>
30 #include <time.h> 30 #include <time.h>
31 #include <unistd.h> 31 #include <unistd.h>
32 32
33 #define NOINTR_SYS(x) \ 33 #define NOINTR_SYS(x) \
34 ({ typeof(x) i__; while ((i__ = (x)) < 0 && sys.my_errno == EINTR); i__;}) 34 ({ typeof(x) i__; while ((i__ = (x)) < 0 && sys.my_errno == EINTR); i__;})
35 35
36 #ifdef __cplusplus 36 #ifdef __cplusplus
37 #include <iostream>
38 #include <map> 37 #include <map>
39 #include <vector> 38 #include <vector>
40 #include "sandbox.h" 39 #include "sandbox.h"
41 #include "securemem.h" 40 #include "securemem.h"
42 #include "tls.h" 41 #include "tls.h"
43 42
44 namespace playground { 43 namespace playground {
45 44
46 class Sandbox { 45 class Sandbox {
47 // TODO(markus): restrict access to our private file handles 46 // TODO(markus): restrict access to our private file handles
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 static ProtectedMap protectedMap_; 695 static ProtectedMap protectedMap_;
697 static std::vector<SecureMem::Args*> secureMemPool_; 696 static std::vector<SecureMem::Args*> secureMemPool_;
698 }; 697 };
699 698
700 } // namespace 699 } // namespace
701 700
702 using playground::Sandbox; 701 using playground::Sandbox;
703 #endif // __cplusplus 702 #endif // __cplusplus
704 703
705 #endif // SANDBOX_IMPL_H__ 704 #endif // SANDBOX_IMPL_H__
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp/maps.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698