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

Unified Diff: chrome/service/chrome_service_application_mac.mm

Issue 8771028: [Mac] Remove content/ CrApplication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 845d9f06f77304bbe625d4cda1c0c6964c5ab439..c77e521c25a93482dd9869934f94a5d6bfd5eb00 100644
--- a/chrome/service/chrome_service_application_mac.mm
+++ b/chrome/service/chrome_service_application_mac.mm
@@ -9,12 +9,12 @@
#import "chrome/common/cloud_print/cloud_print_class_mac.h"
#include "chrome/common/chrome_switches.h"
-@interface ServiceCrApplication ()
+@interface ServiceApplication ()
- (void)setCloudPrintHandler;
- (void)submitPrint:(NSAppleEventDescriptor*)event;
@end
-@implementation ServiceCrApplication
+@implementation ServiceApplication
-(void)setCloudPrintHandler {
Robert Sesek 2011/12/02 17:10:17 nit: space after -
Scott Hess - ex-Googler 2011/12/02 19:15:25 Done. Whoa, hold the phone ... can you see any re
NSAppleEventManager* em = [NSAppleEventManager sharedAppleEventManager];
@@ -90,10 +90,10 @@
namespace chrome_service_application_mac {
-void RegisterServiceCrApp() {
- ServiceCrApplication* var =
- static_cast<ServiceCrApplication*>
- ([ServiceCrApplication sharedApplication]);
+void RegisterServiceApp() {
+ ServiceApplication* var =
+ base::mac::ObjCCastStrict<ServiceApplication>(
+ [ServiceApplication sharedApplication]);
[var setCloudPrintHandler];
}

Powered by Google App Engine
This is Rietveld 408576698