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

Unified Diff: chrome/service/chrome_service_application_mac.mm

Issue 8341079: Move cloud_print_class_mac files from content/common to chrome/common/cloud_print. They don't bel... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
===================================================================
--- chrome/service/chrome_service_application_mac.mm (revision 107531)
+++ chrome/service/chrome_service_application_mac.mm (working copy)
@@ -6,7 +6,7 @@
#include "base/logging.h"
#include "base/mac/foundation_util.h"
-#import "content/common/cloud_print_class_mac.h"
+#import "chrome/common/cloud_print/cloud_print_class_mac.h"
#include "chrome/common/chrome_switches.h"
@interface ServiceCrApplication ()
@@ -20,8 +20,8 @@
NSAppleEventManager* em = [NSAppleEventManager sharedAppleEventManager];
[em setEventHandler:self
andSelector:@selector(submitPrint:)
- forEventClass:content::kAECloudPrintClass
- andEventID:content::kAECloudPrintClass];
+ forEventClass:cloud_print::kAECloudPrintClass
+ andEventID:cloud_print::kAECloudPrintClass];
}
// Event handler for Cloud Print Event. Forwards print job received to Chrome,
@@ -55,17 +55,17 @@
// Actually create the Apple Event.
NSAppleEventDescriptor* sendEvent =
[NSAppleEventDescriptor
- appleEventWithEventClass:content::kAECloudPrintClass
- eventID:content::kAECloudPrintClass
+ appleEventWithEventClass:cloud_print::kAECloudPrintClass
+ eventID:cloud_print::kAECloudPrintClass
targetDescriptor:nil
returnID:kAutoGenerateReturnID
transactionID:kAnyTransactionID];
// Pull the parameters out of AppleEvent sent to us and attach them
// to our Apple Event.
NSAppleEventDescriptor* parameters =
- [event paramDescriptorForKeyword:content::kAECloudPrintClass];
+ [event paramDescriptorForKeyword:cloud_print::kAECloudPrintClass];
[sendEvent setParamDescriptor:parameters
- forKeyword:content::kAECloudPrintClass];
+ forKeyword:cloud_print::kAECloudPrintClass];
LSApplicationParameters params = { 0,
kLSLaunchDefaults,
&ref,
« no previous file with comments | « chrome/common/cloud_print/cloud_print_class_mac.mm ('k') | cloud_print/virtual_driver/posix/printer_driver_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698