OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This is dummy implementation for all configurations where there is no | 5 // This is dummy implementation for all configurations where there is no |
6 // print backend. | 6 // print backend. |
7 #if !defined(PRINT_BACKEND_AVAILABLE) | 7 #if !defined(PRINT_BACKEND_AVAILABLE) |
8 | 8 |
9 #include "printing/backend/print_backend.h" | 9 #include "printing/backend/print_backend.h" |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/values.h" |
12 | 13 |
13 namespace printing { | 14 namespace printing { |
14 | 15 |
15 scoped_refptr<PrintBackend> PrintBackend::CreateInstance( | 16 scoped_refptr<PrintBackend> PrintBackend::CreateInstance( |
16 const DictionaryValue* print_backend_settings) { | 17 const DictionaryValue* print_backend_settings) { |
17 NOTREACHED(); | 18 NOTREACHED(); |
18 return NULL; | 19 return NULL; |
19 } | 20 } |
20 | 21 |
21 } // namespace printing | 22 } // namespace printing |
22 | 23 |
23 #endif // PRINT_BACKEND_AVAILABLE | 24 #endif // PRINT_BACKEND_AVAILABLE |
OLD | NEW |