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

Side by Side Diff: cloud_print/virtual_driver/posix/install_cloud_print_driver_mac.mm

Issue 7485011: Virtual Cloud Print Driver for Mac. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed copyright Created 9 years, 4 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import <ApplicationServices/ApplicationServices.h>
6 #import <Foundation/NSAutoreleasePool.h>
7
8 #include "cloud_print/virtual_driver/posix/installer_util_mac.h"
9
10 const AEEventClass kAECloudPrintInstallClass= 'GCPi';
11
12 // Installer for Virtual Driver on Mac. Sends an Apple Event to
13 // Chrome, launching it if necessary. The Apple Event registers
14 // the virtual driver with the service process.
15 int main() {
16 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
17 cloud_print::sendServiceProcessEvent(kAECloudPrintInstallClass);
18 [pool release];
19 return 0;
20 }
OLDNEW
« no previous file with comments | « cloud_print/virtual_driver/posix/backend.gyp ('k') | cloud_print/virtual_driver/posix/installer_util_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698