diff options
Diffstat (limited to 'chrome/service/cloud_print/print_system_dummy.cc')
-rw-r--r-- | chrome/service/cloud_print/print_system_dummy.cc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chrome/service/cloud_print/print_system_dummy.cc b/chrome/service/cloud_print/print_system_dummy.cc new file mode 100644 index 0000000..49e481d --- /dev/null +++ b/chrome/service/cloud_print/print_system_dummy.cc @@ -0,0 +1,27 @@ +// 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() { + NOTREACHED(); + return NULL; +} +} // namespace cloud_print + +#endif // CP_PRINT_SYSTEM_AVAILABLE + |