summaryrefslogtreecommitdiff
path: root/chromium/printing/backend/print_backend_dummy.cc
blob: fdc3b7ff3632fe50488329fb4c610e8325c489c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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