summaryrefslogtreecommitdiffstats
path: root/chrome/service/cloud_print/print_system_dummy.cc
blob: ea3fac1eba0ed4a5541b2bae50b51e986a81ddda (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
25
26
27
28
// 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 print system
// for cloud print is not available.
#if !defined(CP_PRINT_SYSTEM_AVAILABLE)

#include "chrome/service/cloud_print/print_system.h"

#include "base/logging.h"

namespace cloud_print {

std::string PrintSystem::GenerateProxyId() {
  NOTREACHED();
  return std::string();
}

scoped_refptr<PrintSystem> PrintSystem::CreateInstance(
    const DictionaryValue* print_system_settings) {
  NOTREACHED();
  return NULL;
}
}  // namespace cloud_print

#endif  // CP_PRINT_SYSTEM_AVAILABLE