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

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

Issue 9307087: Remove code for Mac and Linux virtual print drivers. (Closed)
Patch Set: Nuke linux too Created 8 years, 10 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
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

Powered by Google App Engine
This is Rietveld 408576698