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

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

Issue 18252003: Replace third_party/icu/public with third_party/icu/source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: roll ICU to 211851 Created 7 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
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/strings/string16.h" 25 #include "base/strings/string16.h"
26 #include "base/strings/string_piece.h" 26 #include "base/strings/string_piece.h"
27 #include "base/strings/string_util.h" 27 #include "base/strings/string_util.h"
28 #include "base/strings/stringprintf.h" 28 #include "base/strings/stringprintf.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/strings/utf_string_conversions.h"
31 #include "base/sys_info.h" 31 #include "base/sys_info.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/source/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
42 // Is the sandbox currently active. 42 // Is the sandbox currently active.
43 bool gSandboxIsActive = false; 43 bool gSandboxIsActive = false;
44 44
45 struct SandboxTypeToResourceIDMapping { 45 struct SandboxTypeToResourceIDMapping {
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 if (HANDLE_EINTR(fcntl(fd, F_GETPATH, canonical_path)) != 0) { 601 if (HANDLE_EINTR(fcntl(fd, F_GETPATH, canonical_path)) != 0) {
602 DPLOG(FATAL) << "GetCanonicalSandboxPath() failed for: " 602 DPLOG(FATAL) << "GetCanonicalSandboxPath() failed for: "
603 << path.value(); 603 << path.value();
604 return path; 604 return path;
605 } 605 }
606 606
607 return base::FilePath(canonical_path); 607 return base::FilePath(canonical_path);
608 } 608 }
609 609
610 } // namespace content 610 } // namespace content
OLDNEW
« no previous file with comments | « components/autofill/core/browser/credit_card.cc ('k') | content/renderer/android/email_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698