Commit c7ef26ea authored by Avi Drissman's avatar Avi Drissman Committed by Commit Bot

Remove old cloud print code

This was partially removed in r256400; finish the job.

Bug: 111652, 350118
Change-Id: I1080786d704b52662aa4d25d24d0ac44d51d09c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2149404
Auto-Submit: Avi Drissman <avi@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Reviewed-by: default avatarLeonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758969}
parent 2c081c3c
...@@ -87,7 +87,6 @@ ...@@ -87,7 +87,6 @@
#include "chrome/browser/web_applications/components/web_app_shortcut_mac.h" #include "chrome/browser/web_applications/components/web_app_shortcut_mac.h"
#include "chrome/common/chrome_paths_internal.h" #include "chrome/common/chrome_paths_internal.h"
#include "chrome/common/chrome_switches.h" #include "chrome/common/chrome_switches.h"
#include "chrome/common/cloud_print/cloud_print_class_mac.h"
#include "chrome/common/extensions/extension_constants.h" #include "chrome/common/extensions/extension_constants.h"
#include "chrome/common/mac/app_mode_common.h" #include "chrome/common/mac/app_mode_common.h"
#include "chrome/common/pref_names.h" #include "chrome/common/pref_names.h"
...@@ -408,8 +407,6 @@ static base::mac::ScopedObjCClassSwizzler* g_swizzle_imk_input_session; ...@@ -408,8 +407,6 @@ static base::mac::ScopedObjCClassSwizzler* g_swizzle_imk_input_session;
NSAppleEventManager* em = [NSAppleEventManager sharedAppleEventManager]; NSAppleEventManager* em = [NSAppleEventManager sharedAppleEventManager];
[em removeEventHandlerForEventClass:kInternetEventClass [em removeEventHandlerForEventClass:kInternetEventClass
andEventID:kAEGetURL]; andEventID:kAEGetURL];
[em removeEventHandlerForEventClass:cloud_print::kAECloudPrintClass
andEventID:cloud_print::kAECloudPrintClass];
[em removeEventHandlerForEventClass:'WWW!' [em removeEventHandlerForEventClass:'WWW!'
andEventID:'OURL']; andEventID:'OURL'];
[[NSNotificationCenter defaultCenter] removeObserver:self]; [[NSNotificationCenter defaultCenter] removeObserver:self];
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
source_set("cloud_print") { source_set("cloud_print") {
sources = [ sources = [
"cloud_print_class_mac.h",
"cloud_print_class_mac.mm",
"cloud_print_constants.cc", "cloud_print_constants.cc",
"cloud_print_constants.h", "cloud_print_constants.h",
"cloud_print_helpers.cc", "cloud_print_helpers.cc",
......
// 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.
#ifndef CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CLASS_MAC_H_
#define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CLASS_MAC_H_
#import <AppKit/AppKit.h>
namespace cloud_print {
// Four character constant to identify Cloud print IPC call.
extern const AEEventClass kAECloudPrintClass;
} // namespace cloud_print
#endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CLASS_MAC_H_
// 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 "chrome/common/cloud_print/cloud_print_class_mac.h"
namespace cloud_print {
const AEEventClass kAECloudPrintClass = 'GCPp';
} // namespace cloud_print
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment