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 #include "extensions/browser/api/printer_provider/printer_provider_api.h" | 5 #include "extensions/browser/api/printer_provider/printer_provider_api.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 #include <set> | 10 #include <set> |
9 #include <utility> | 11 #include <utility> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/bind.h" | 14 #include "base/bind.h" |
13 #include "base/i18n/rtl.h" | 15 #include "base/i18n/rtl.h" |
14 #include "base/json/json_string_value_serializer.h" | 16 #include "base/json/json_string_value_serializer.h" |
15 #include "base/macros.h" | 17 #include "base/macros.h" |
16 #include "base/scoped_observer.h" | 18 #include "base/scoped_observer.h" |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 return new PrinterProviderAPIImpl(context); | 763 return new PrinterProviderAPIImpl(context); |
762 } | 764 } |
763 | 765 |
764 // static | 766 // static |
765 std::string PrinterProviderAPI::GetDefaultPrintError() { | 767 std::string PrinterProviderAPI::GetDefaultPrintError() { |
766 return api::printer_provider_internal::ToString( | 768 return api::printer_provider_internal::ToString( |
767 api::printer_provider_internal::PRINT_ERROR_FAILED); | 769 api::printer_provider_internal::PRINT_ERROR_FAILED); |
768 } | 770 } |
769 | 771 |
770 } // namespace extensions | 772 } // namespace extensions |
OLD | NEW |