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

Side by Side Diff: base/mac/foundation_util.mm

Issue 10407003: Fix Mac shared component build following r137235 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« base/mac/foundation_util.h ('K') | « base/mac/foundation_util.h ('k') | 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) 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 "base/mac/foundation_util.h" 5 #include "base/mac/foundation_util.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/mac/bundle_locations.h" 12 #include "base/mac/bundle_locations.h"
13 #include "base/mac/mac_logging.h" 13 #include "base/mac/mac_logging.h"
14 #include "base/sys_string_conversions.h" 14 #include "base/sys_string_conversions.h"
15 15
16 typedef struct OpaqueSecTrustRef* SecACLRef;
17 typedef struct OpaqueSecTrustedApplicationRef* SecTrustedApplicationRef;
18
19 extern "C" { 16 extern "C" {
20 CFTypeID SecACLGetTypeID(); 17 CFTypeID SecACLGetTypeID();
21 CFTypeID SecTrustedApplicationGetTypeID(); 18 CFTypeID SecTrustedApplicationGetTypeID();
22 } // extern "C" 19 } // extern "C"
23 20
24 namespace base { 21 namespace base {
25 namespace mac { 22 namespace mac {
26 23
27 static bool g_override_am_i_bundled = false; 24 static bool g_override_am_i_bundled = false;
28 static bool g_override_am_i_bundled_value = false; 25 static bool g_override_am_i_bundled_value = false;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 CFDictionaryGetValue(user_info.get(), kCFErrorDescriptionKey)); 364 CFDictionaryGetValue(user_info.get(), kCFErrorDescriptionKey));
368 } 365 }
369 o << "Code: " << CFErrorGetCode(err) 366 o << "Code: " << CFErrorGetCode(err)
370 << " Domain: " << CFErrorGetDomain(err) 367 << " Domain: " << CFErrorGetDomain(err)
371 << " Desc: " << desc.get(); 368 << " Desc: " << desc.get();
372 if(errorDesc) { 369 if(errorDesc) {
373 o << "(" << errorDesc << ")"; 370 o << "(" << errorDesc << ")";
374 } 371 }
375 return o; 372 return o;
376 } 373 }
OLDNEW
« base/mac/foundation_util.h ('K') | « base/mac/foundation_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698