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

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

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
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 #include "content/common/sandbox_mac.h" 5 #include "content/common/sandbox_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 extern "C" { 9 extern "C" {
10 #include <sandbox.h> 10 #include <sandbox.h>
11 } 11 }
12 #include <signal.h> 12 #include <signal.h>
13 #include <sys/param.h> 13 #include <sys/param.h>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/compiler_specific.h" 17 #include "base/compiler_specific.h"
18 #include "base/file_util.h" 18 #include "base/file_util.h"
19 #include "base/mac/bundle_locations.h" 19 #include "base/mac/bundle_locations.h"
20 #include "base/mac/mac_util.h" 20 #include "base/mac/mac_util.h"
21 #include "base/mac/scoped_cftyperef.h" 21 #include "base/mac/scoped_cftyperef.h"
22 #include "base/mac/scoped_nsautorelease_pool.h" 22 #include "base/mac/scoped_nsautorelease_pool.h"
23 #include "base/memory/scoped_nsobject.h" 23 #include "base/memory/scoped_nsobject.h"
24 #include "base/rand_util.h" 24 #include "base/rand_util.h"
25 #include "base/string16.h" 25 #include "base/string16.h"
26 #include "base/string_util.h" 26 #include "base/string_util.h"
27 #include "base/stringprintf.h" 27 #include "base/stringprintf.h"
28 #include "base/strings/string_piece.h" 28 #include "base/strings/string_piece.h"
29 #include "base/strings/sys_string_conversions.h" 29 #include "base/strings/sys_string_conversions.h"
30 #include "base/strings/utf_string_conversions.h"
30 #include "base/sys_info.h" 31 #include "base/sys_info.h"
31 #include "base/utf_string_conversions.h"
32 #include "content/public/common/content_client.h" 32 #include "content/public/common/content_client.h"
33 #include "content/public/common/content_switches.h" 33 #include "content/public/common/content_switches.h"
34 #include "grit/content_resources.h" 34 #include "grit/content_resources.h"
35 #include "third_party/icu/public/common/unicode/uchar.h" 35 #include "third_party/icu/public/common/unicode/uchar.h"
36 #include "ui/base/layout.h" 36 #include "ui/base/layout.h"
37 #include "ui/gl/gl_surface.h" 37 #include "ui/gl/gl_surface.h"
38 38
39 namespace content { 39 namespace content {
40 namespace { 40 namespace {
41 41
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 if (HANDLE_EINTR(fcntl(fd, F_GETPATH, canonical_path)) != 0) { 599 if (HANDLE_EINTR(fcntl(fd, F_GETPATH, canonical_path)) != 0) {
600 DPLOG(FATAL) << "GetCanonicalSandboxPath() failed for: " 600 DPLOG(FATAL) << "GetCanonicalSandboxPath() failed for: "
601 << path.value(); 601 << path.value();
602 return path; 602 return path;
603 } 603 }
604 604
605 return base::FilePath(canonical_path); 605 return base::FilePath(canonical_path);
606 } 606 }
607 607
608 } // namespace content 608 } // namespace content
OLDNEW
« no previous file with comments | « content/common/pepper_plugin_registry.cc ('k') | content/common/sandbox_mac_diraccess_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698