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

Unified Diff: cloud_print/virtual_driver/posix/uninstall_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, 11 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: cloud_print/virtual_driver/posix/uninstall_cloud_print_driver_mac.mm
diff --git a/cloud_print/virtual_driver/posix/uninstall_cloud_print_driver_mac.mm b/cloud_print/virtual_driver/posix/uninstall_cloud_print_driver_mac.mm
deleted file mode 100644
index adb7edc369e958bc0277273c34d8fe0915da958b..0000000000000000000000000000000000000000
--- a/cloud_print/virtual_driver/posix/uninstall_cloud_print_driver_mac.mm
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#import <ApplicationServices/ApplicationServices.h>
-#import <Foundation/NSAutoreleasePool.h>
-
-#include "cloud_print/virtual_driver/posix/installer_util_mac.h"
-
-const AEEventClass kAECloudPrintUninstallClass = 'GCPu';
-
-// Uninstaller for Virtual Driver on Mac. Sends an Apple Event to
-// Chrome, launching it if necessary. The Apple Event unregisters
-// the virtual driver with the service process.
-int main() {
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- cloud_print::sendServiceProcessEvent(kAECloudPrintUninstallClass);
- [pool release];
- return 0;
-}

Powered by Google App Engine
This is Rietveld 408576698