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

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

Issue 12213061: Move sys_string_conversions to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm him Created 7 years, 10 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 | « base/mac/bundle_locations.mm ('k') | base/mac/mac_util.mm » ('j') | 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/strings/sys_string_conversions.h"
15 15
16 #if !defined(OS_IOS) 16 #if !defined(OS_IOS)
17 extern "C" { 17 extern "C" {
18 CFTypeID SecACLGetTypeID(); 18 CFTypeID SecACLGetTypeID();
19 CFTypeID SecTrustedApplicationGetTypeID(); 19 CFTypeID SecTrustedApplicationGetTypeID();
20 } // extern "C" 20 } // extern "C"
21 #endif 21 #endif
22 22
23 namespace base { 23 namespace base {
24 namespace mac { 24 namespace mac {
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 CFDictionaryGetValue(user_info.get(), kCFErrorDescriptionKey)); 392 CFDictionaryGetValue(user_info.get(), kCFErrorDescriptionKey));
393 } 393 }
394 o << "Code: " << CFErrorGetCode(err) 394 o << "Code: " << CFErrorGetCode(err)
395 << " Domain: " << CFErrorGetDomain(err) 395 << " Domain: " << CFErrorGetDomain(err)
396 << " Desc: " << desc.get(); 396 << " Desc: " << desc.get();
397 if(errorDesc) { 397 if(errorDesc) {
398 o << "(" << errorDesc << ")"; 398 o << "(" << errorDesc << ")";
399 } 399 }
400 return o; 400 return o;
401 } 401 }
OLDNEW
« no previous file with comments | « base/mac/bundle_locations.mm ('k') | base/mac/mac_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698