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() { | |
16 NOTREACHED(); | |
17 return std::string(); | |
18 } | |
19 | |
20 scoped_refptr<PrintSystem> PrintSystem::CreateInstance( | 15 scoped_refptr<PrintSystem> PrintSystem::CreateInstance( |
21 const base::DictionaryValue* print_system_settings) { | 16 const base::DictionaryValue* print_system_settings) { |
22 NOTREACHED(); | 17 NOTREACHED(); |
23 return NULL; | 18 return NULL; |
24 } | 19 } |
25 } // namespace cloud_print | 20 } // namespace cloud_print |
26 | 21 |
27 #endif // CP_PRINT_SYSTEM_AVAILABLE | 22 #endif // CP_PRINT_SYSTEM_AVAILABLE |
OLD | NEW |