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

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

Issue 11734021: Roll ICU and convert include style to standard Chromium style, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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>
(...skipping 14 matching lines...) Expand all
25 #include "base/string16.h" 25 #include "base/string16.h"
26 #include "base/string_piece.h" 26 #include "base/string_piece.h"
27 #include "base/string_util.h" 27 #include "base/string_util.h"
28 #include "base/stringprintf.h" 28 #include "base/stringprintf.h"
29 #include "base/sys_info.h" 29 #include "base/sys_info.h"
30 #include "base/sys_string_conversions.h" 30 #include "base/sys_string_conversions.h"
31 #include "base/utf_string_conversions.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 "ui/base/layout.h" 36 #include "ui/base/layout.h"
36 #include "ui/gl/gl_surface.h" 37 #include "ui/gl/gl_surface.h"
37 #include "unicode/uchar.h"
38 38
39 namespace content { 39 namespace content {
40 namespace { 40 namespace {
41 41
42 struct SandboxTypeToResourceIDMapping { 42 struct SandboxTypeToResourceIDMapping {
43 SandboxType sandbox_type; 43 SandboxType sandbox_type;
44 int sandbox_profile_resource_id; 44 int sandbox_profile_resource_id;
45 }; 45 };
46 46
47 // Mapping from sandbox process types to resource IDs containing the sandbox 47 // Mapping from sandbox process types to resource IDs containing the sandbox
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 if (HANDLE_EINTR(fcntl(fd, F_GETPATH, canonical_path)) != 0) { 589 if (HANDLE_EINTR(fcntl(fd, F_GETPATH, canonical_path)) != 0) {
590 DPLOG(FATAL) << "GetCanonicalSandboxPath() failed for: " 590 DPLOG(FATAL) << "GetCanonicalSandboxPath() failed for: "
591 << path.value(); 591 << path.value();
592 return path; 592 return path;
593 } 593 }
594 594
595 return FilePath(canonical_path); 595 return FilePath(canonical_path);
596 } 596 }
597 597
598 } // namespace content 598 } // namespace content
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_worditerator.cc ('k') | content/renderer/android/email_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698