| // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // This is dummy implementation for all configurations where there is no | |
| // print backend. | |
| #if !defined(PRINT_BACKEND_AVAILABLE) | |
| #include "printing/backend/print_backend.h" | |
| #include "base/logging.h" | |
| #include "base/values.h" | |
| namespace printing { | |
| scoped_refptr<PrintBackend> PrintBackend::CreateInstance( | |
| const DictionaryValue* print_backend_settings) { | |
| NOTREACHED(); | |
| return NULL; | |
| } | |
| } // namespace printing | |
| #endif // PRINT_BACKEND_AVAILABLE |