| 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 EXTENSIONS_BROWSER_API_PRINTER_PROVIDER_INTERNAL_PRINTER_PROVIDER_INTERN
AL_API_OBSERVER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_PRINTER_PROVIDER_INTERNAL_PRINTER_PROVIDER_INTERN
AL_API_OBSERVER_H_ |
| 6 #define EXTENSIONS_BROWSER_API_PRINTER_PROVIDER_INTERNAL_PRINTER_PROVIDER_INTERN
AL_API_OBSERVER_H_ | 6 #define EXTENSIONS_BROWSER_API_PRINTER_PROVIDER_INTERNAL_PRINTER_PROVIDER_INTERN
AL_API_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "extensions/common/api/printer_provider.h" | 10 #include "extensions/common/api/printer_provider.h" |
| 11 #include "extensions/common/api/printer_provider_internal.h" | 11 #include "extensions/common/api/printer_provider_internal.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class DictionaryValue; | 14 class DictionaryValue; |
| 15 class ListValue; | |
| 16 } | 15 } |
| 17 | 16 |
| 18 namespace extensions { | 17 namespace extensions { |
| 19 | 18 |
| 20 class Extension; | 19 class Extension; |
| 21 | 20 |
| 22 // Interface for observing chrome.printerProviderInternal API function calls. | 21 // Interface for observing chrome.printerProviderInternal API function calls. |
| 23 class PrinterProviderInternalAPIObserver { | 22 class PrinterProviderInternalAPIObserver { |
| 24 public: | 23 public: |
| 25 using PrinterInfoVector = std::vector<api::printer_provider::PrinterInfo>; | 24 using PrinterInfoVector = std::vector<api::printer_provider::PrinterInfo>; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 int request_id, | 61 int request_id, |
| 63 const api::printer_provider::PrinterInfo* printer_info) = 0; | 62 const api::printer_provider::PrinterInfo* printer_info) = 0; |
| 64 | 63 |
| 65 protected: | 64 protected: |
| 66 virtual ~PrinterProviderInternalAPIObserver() {} | 65 virtual ~PrinterProviderInternalAPIObserver() {} |
| 67 }; | 66 }; |
| 68 | 67 |
| 69 } // namespace extensions | 68 } // namespace extensions |
| 70 | 69 |
| 71 #endif // EXTENSIONS_BROWSER_API_PRINTER_PROVIDER_INTERNAL_PRINTER_PROVIDER_INT
ERNAL_API_OBSERVER_H_ | 70 #endif // EXTENSIONS_BROWSER_API_PRINTER_PROVIDER_INTERNAL_PRINTER_PROVIDER_INT
ERNAL_API_OBSERVER_H_ |
| OLD | NEW |