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

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

Issue 7353020: Make disabled test not cause compile error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 static bool QuoteStringForRegex(const std::string& str_utf8, 166 static bool QuoteStringForRegex(const std::string& str_utf8,
167 std::string* dst); 167 std::string* dst);
168 168
169 // Convert provided path into a "canonical" path matching what the Sandbox 169 // Convert provided path into a "canonical" path matching what the Sandbox
170 // expects i.e. one without symlinks. 170 // expects i.e. one without symlinks.
171 // This path is not necessarily unique e.g. in the face of hardlinks. 171 // This path is not necessarily unique e.g. in the face of hardlinks.
172 static void GetCanonicalSandboxPath(FilePath* path); 172 static void GetCanonicalSandboxPath(FilePath* path);
173 173
174 FRIEND_TEST(MacDirAccessSandboxTest, StringEscape); 174 FRIEND_TEST(MacDirAccessSandboxTest, StringEscape);
175 FRIEND_TEST(MacDirAccessSandboxTest, RegexEscape); 175 FRIEND_TEST(MacDirAccessSandboxTest, RegexEscape);
176 FRIEND_TEST(MacDirAccessSandboxTest, SandboxAccess); 176 FRIEND_TEST(MacDirAccessSandboxTest, DISABLED_SandboxAccess);
177 177
178 DISALLOW_IMPLICIT_CONSTRUCTORS(Sandbox); 178 DISALLOW_IMPLICIT_CONSTRUCTORS(Sandbox);
179 }; 179 };
180 180
181 } // namespace sandbox 181 } // namespace sandbox
182 182
183 #endif // CONTENT_COMMON_SANDBOX_MAC_H_ 183 #endif // CONTENT_COMMON_SANDBOX_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698