| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_PRINTER_DETECTOR_PRINTER_DETECTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_PRINTER_DETECTOR_PRINTER_DETECTOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_PRINTER_DETECTOR_PRINTER_DETECTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_PRINTER_DETECTOR_PRINTER_DETECTOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
| 12 #include "components/keyed_service/core/keyed_service.h" | 13 #include "components/keyed_service/core/keyed_service.h" |
| 13 #include "device/usb/usb_service.h" | 14 #include "device/usb/usb_service.h" |
| 14 | 15 |
| 15 class NotificationUIManager; | 16 class NotificationUIManager; |
| 16 class Profile; | 17 class Profile; |
| 17 | 18 |
| 18 namespace device { | 19 namespace device { |
| 19 class UsbDevice; | 20 class UsbDevice; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 NotificationUIManager* notification_ui_manager_; | 55 NotificationUIManager* notification_ui_manager_; |
| 55 ScopedObserver<device::UsbService, device::UsbService::Observer> observer_; | 56 ScopedObserver<device::UsbService, device::UsbService::Observer> observer_; |
| 56 base::WeakPtrFactory<PrinterDetector> weak_ptr_factory_; | 57 base::WeakPtrFactory<PrinterDetector> weak_ptr_factory_; |
| 57 | 58 |
| 58 DISALLOW_COPY_AND_ASSIGN(PrinterDetector); | 59 DISALLOW_COPY_AND_ASSIGN(PrinterDetector); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace chromeos | 62 } // namespace chromeos |
| 62 | 63 |
| 63 #endif // CHROME_BROWSER_CHROMEOS_PRINTER_DETECTOR_PRINTER_DETECTOR_H_ | 64 #endif // CHROME_BROWSER_CHROMEOS_PRINTER_DETECTOR_PRINTER_DETECTOR_H_ |
| OLD | NEW |