summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser_chromeos.gypi
diff options
context:
space:
mode:
authortbarzic <tbarzic@chromium.org>2015-06-12 18:40:22 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-13 01:41:07 +0000
commit43e47d45a642abd053a1aee8b6e54233ad6aae49 (patch)
tree531ea1ebbe572c1eec9498a09e0c1a3d89dca6f2 /chrome/chrome_browser_chromeos.gypi
parentdace5841ab221faac3ed6494aacc89e89d20d77a (diff)
downloadchromium_src-43e47d45a642abd053a1aee8b6e54233ad6aae49.zip
chromium_src-43e47d45a642abd053a1aee8b6e54233ad6aae49.tar.gz
chromium_src-43e47d45a642abd053a1aee8b6e54233ad6aae49.tar.bz2
Don't use printer provider dbus service to detect printers
Instead, observe device::UsbService for USB devices with printer interface class. This is done by new profile keyed service PrinterDetector, which gets created with the profile. Moves logic for showing printer notification and launching webstore widget app from dbus/printer_service_provider to a newly added printer_detector. Also, search usb_printers filters (forgot to add this before) BUG=439448 Review URL: https://codereview.chromium.org/1185833002 Cr-Commit-Position: refs/heads/master@{#334314}
Diffstat (limited to 'chrome/chrome_browser_chromeos.gypi')
-rw-r--r--chrome/chrome_browser_chromeos.gypi6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/chrome_browser_chromeos.gypi b/chrome/chrome_browser_chromeos.gypi
index b53ba5e..d2f7232 100644
--- a/chrome/chrome_browser_chromeos.gypi
+++ b/chrome/chrome_browser_chromeos.gypi
@@ -81,8 +81,6 @@
'browser/chromeos/dbus/chrome_display_power_service_provider_delegate.h',
'browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc',
'browser/chromeos/dbus/chrome_proxy_resolver_delegate.h',
- 'browser/chromeos/dbus/printer_service_provider.cc',
- 'browser/chromeos/dbus/printer_service_provider.h',
'browser/chromeos/dbus/screen_lock_service_provider.cc',
'browser/chromeos/dbus/screen_lock_service_provider.h',
'browser/chromeos/device/input_service_proxy.cc',
@@ -924,6 +922,10 @@
'browser/chromeos/power/session_state_controller_delegate_chromeos.h',
'browser/chromeos/preferences.cc',
'browser/chromeos/preferences.h',
+ 'browser/chromeos/printer_detector/printer_detector.cc',
+ 'browser/chromeos/printer_detector/printer_detector.h',
+ 'browser/chromeos/printer_detector/printer_detector_factory.cc',
+ 'browser/chromeos/printer_detector/printer_detector_factory.h',
'browser/chromeos/profiles/avatar_menu_actions_chromeos.cc',
'browser/chromeos/profiles/avatar_menu_actions_chromeos.h',
'browser/chromeos/profiles/avatar_menu_chromeos.cc',