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 3// found in the LICENSE file. 4 5// This is dummy implementation for all configurations where there is no 6// print backend. 7#if !defined(PRINT_BACKEND_AVAILABLE) 8 9#include "printing/backend/print_backend.h" 10 11#include "base/logging.h" 12#include "base/values.h" 13 14namespace printing { 15 16scoped_refptr<PrintBackend> PrintBackend::CreateInstance( 17 const base::DictionaryValue* print_backend_settings) { 18 NOTREACHED(); 19 return NULL; 20} 21 22} // namespace printing 23 24#endif // PRINT_BACKEND_AVAILABLE 25