OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This is dummy implementation for all configurations where print system | 5 // This is dummy implementation for all configurations where print system |
6 // for cloud print is not available. | 6 // for cloud print is not available. |
7 #if !defined(CP_PRINT_SYSTEM_AVAILABLE) | 7 #if !defined(CP_PRINT_SYSTEM_AVAILABLE) |
8 | 8 |
9 #include "chrome/service/cloud_print/print_system.h" | 9 #include "chrome/service/cloud_print/print_system.h" |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 | 12 |
13 namespace cloud_print { | 13 namespace cloud_print { |
14 | 14 |
15 std::string PrintSystem::GenerateProxyId() { | 15 std::string PrintSystem::GenerateProxyId() { |
16 NOTREACHED(); | 16 NOTREACHED(); |
17 return std::string(); | 17 return std::string(); |
18 } | 18 } |
19 | 19 |
20 scoped_refptr<PrintSystem> PrintSystem::CreateInstance( | 20 scoped_refptr<PrintSystem> PrintSystem::CreateInstance( |
21 const DictionaryValue* print_system_settings) { | 21 const base::DictionaryValue* print_system_settings) { |
22 NOTREACHED(); | 22 NOTREACHED(); |
23 return NULL; | 23 return NULL; |
24 } | 24 } |
25 } // namespace cloud_print | 25 } // namespace cloud_print |
26 | 26 |
27 #endif // CP_PRINT_SYSTEM_AVAILABLE | 27 #endif // CP_PRINT_SYSTEM_AVAILABLE |
28 | |
OLD | NEW |