| OLD | NEW |
| 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/files/file_util.h" |
| 8 #include "base/files/scoped_file.h" | 8 #include "base/files/scoped_file.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| 11 #include "content/common/sandbox_mac.h" | 11 #include "content/common/sandbox_mac.h" |
| 12 #include "content/common/sandbox_mac_unittest_helper.h" | 12 #include "content/common/sandbox_mac_unittest_helper.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 #if defined(USE_OPENSSL) | 15 #if defined(USE_OPENSSL) |
| 16 #include <openssl/rand.h> | 16 #include <openssl/rand.h> |
| 17 #include "crypto/openssl_util.h" | 17 #include "crypto/openssl_util.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 return true; | 168 return true; |
| 169 } | 169 } |
| 170 | 170 |
| 171 TEST_F(MacSandboxTest, NSSAccess) { | 171 TEST_F(MacSandboxTest, NSSAccess) { |
| 172 EXPECT_TRUE(RunTestInAllSandboxTypes("MacSandboxedNSSTestCase", NULL)); | 172 EXPECT_TRUE(RunTestInAllSandboxTypes("MacSandboxedNSSTestCase", NULL)); |
| 173 } | 173 } |
| 174 | 174 |
| 175 #endif // defined(USE_OPENSSL) | 175 #endif // defined(USE_OPENSSL) |
| 176 | 176 |
| 177 } // namespace content | 177 } // namespace content |
| OLD | NEW |