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

Side by Side Diff: chrome/browser/platform_util_mac.mm

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/platform_util.h" 5 #include "chrome/browser/platform_util.h"
6 6
7 #include <Carbon/Carbon.h>
7 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
8 #import <CoreServices/CoreServices.h> 9 #import <CoreServices/CoreServices.h>
9 10
10 #include "app/l10n_util.h" 11 #include "app/l10n_util.h"
11 #include "app/l10n_util_mac.h" 12 #include "app/l10n_util_mac.h"
12 #include "base/file_path.h" 13 #include "base/file_path.h"
13 #include "base/logging.h" 14 #include "base/logging.h"
14 #include "base/mac_util.h"
15 #include "base/mac/scoped_aedesc.h" 15 #include "base/mac/scoped_aedesc.h"
16 #include "base/sys_string_conversions.h" 16 #include "base/sys_string_conversions.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
19 19
20 namespace platform_util { 20 namespace platform_util {
21 21
22 void ShowItemInFolder(const FilePath& full_path) { 22 void ShowItemInFolder(const FilePath& full_path) {
23 DCHECK_EQ([NSThread currentThread], [NSThread mainThread]); 23 DCHECK_EQ([NSThread currentThread], [NSThread mainThread]);
24 NSString* path_string = base::SysUTF8ToNSString(full_path.value()); 24 NSString* path_string = base::SysUTF8ToNSString(full_path.value());
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 channel = @"unknown"; 200 channel = @"unknown";
201 } 201 }
202 202
203 return base::SysNSStringToUTF8(channel); 203 return base::SysNSStringToUTF8(channel);
204 #else 204 #else
205 return std::string(); 205 return std::string();
206 #endif 206 #endif
207 } 207 }
208 208
209 } // namespace platform_util 209 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_mac.cc ('k') | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698