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

Unified Diff: chrome/service/chrome_service_application_mac.mm

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/service/chrome_service_application_mac.mm
diff --git a/chrome/service/chrome_service_application_mac.mm b/chrome/service/chrome_service_application_mac.mm
index c60fa067a2ab8155b9724c19d410191c188f6b2b..3b7805967784a79f9fac20a6f077b744d8f2db9b 100644
--- a/chrome/service/chrome_service_application_mac.mm
+++ b/chrome/service/chrome_service_application_mac.mm
@@ -21,16 +21,16 @@
+ (void)submitPrint:(NSAppleEventDescriptor*)event {
std::string silent = std::string("--") + switches::kNoStartupWindow;
// Set up flag so that it can be passed along with the Apple Event.
- base::mac::ScopedCFTypeRef<CFStringRef> silentLaunchFlag(
+ base::ScopedCFTypeRef<CFStringRef> silentLaunchFlag(
base::SysUTF8ToCFStringRef(silent));
CFStringRef flags[] = { silentLaunchFlag };
// Argv array that will be passed.
- base::mac::ScopedCFTypeRef<CFArrayRef> passArgv(
- CFArrayCreate(NULL, (const void**) flags, 1, &kCFTypeArrayCallBacks));
+ base::ScopedCFTypeRef<CFArrayRef> passArgv(
+ CFArrayCreate(NULL, (const void**)flags, 1, &kCFTypeArrayCallBacks));
FSRef ref;
// Get Chrome's bundle ID.
std::string bundleID = base::mac::BaseBundleID();
- base::mac::ScopedCFTypeRef<CFStringRef> bundleIDCF(
+ base::ScopedCFTypeRef<CFStringRef> bundleIDCF(
base::SysUTF8ToCFStringRef(bundleID));
// Use Launch Services to locate Chrome using its bundleID.
OSStatus status = LSFindApplicationForInfo(kLSUnknownCreator, bundleIDCF,
« no previous file with comments | « chrome/plugin/chrome_content_plugin_client.cc ('k') | chrome/test/chromedriver/keycode_text_conversion_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698