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

Side by Side Diff: content/common/sandbox_mac.h

Issue 1185333003: Implement GetSandboxType() on all platforms and implement for all process types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not call base class from chrome's contentbrowserclient Created 5 years, 6 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 (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 CONTENT_COMMON_SANDBOX_MAC_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_MAC_H_
6 #define CONTENT_COMMON_SANDBOX_MAC_H_ 6 #define CONTENT_COMMON_SANDBOX_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/containers/hash_tables.h" 11 #include "base/containers/hash_tables.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/public/common/sandbox_type_mac.h" 14 #include "content/public/common/sandbox_type.h"
15 15
16 namespace base { 16 namespace base {
17 class FilePath; 17 class FilePath;
18 } 18 }
19 19
20 #if __OBJC__ 20 #if __OBJC__
21 @class NSArray; 21 @class NSArray;
22 @class NSString; 22 @class NSString;
23 #else 23 #else
24 class NSArray; 24 class NSArray;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, StringEscape); 160 FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, StringEscape);
161 FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, RegexEscape); 161 FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, RegexEscape);
162 FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, SandboxAccess); 162 FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, SandboxAccess);
163 163
164 DISALLOW_IMPLICIT_CONSTRUCTORS(Sandbox); 164 DISALLOW_IMPLICIT_CONSTRUCTORS(Sandbox);
165 }; 165 };
166 166
167 } // namespace content 167 } // namespace content
168 168
169 #endif // CONTENT_COMMON_SANDBOX_MAC_H_ 169 #endif // CONTENT_COMMON_SANDBOX_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698