OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <cups/cups.h> | 5 #include <cups/cups.h> |
| 6 #include <cups/ppd.h> |
6 | 7 |
7 #include <cstring> | 8 #include <cstring> |
8 #include <string> | 9 #include <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/file_path.h" | 12 #include "base/file_path.h" |
12 #include "base/file_util.h" | 13 #include "base/file_util.h" |
13 #include "base/scoped_temp_dir.h" | 14 #include "base/scoped_temp_dir.h" |
14 #include "chrome/browser/printing/print_system_task_proxy.h" | 15 #include "chrome/browser/printing/print_system_task_proxy.h" |
15 #include "printing/backend/print_backend.h" | 16 #include "printing/backend/print_backend.h" |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 "InvalidPrinter", | 284 "InvalidPrinter", |
284 &set_color_as_default, | 285 &set_color_as_default, |
285 &printer_color_space_for_color, | 286 &printer_color_space_for_color, |
286 &printer_color_space_for_black, | 287 &printer_color_space_for_black, |
287 &set_duplex_as_default, | 288 &set_duplex_as_default, |
288 &default_duplex_setting_value); | 289 &default_duplex_setting_value); |
289 ASSERT_TRUE(res); | 290 ASSERT_TRUE(res); |
290 EXPECT_FALSE(set_duplex_as_default); | 291 EXPECT_FALSE(set_duplex_as_default); |
291 EXPECT_EQ(printing::UNKNOWN_DUPLEX_MODE, default_duplex_setting_value); | 292 EXPECT_EQ(printing::UNKNOWN_DUPLEX_MODE, default_duplex_setting_value); |
292 } | 293 } |
OLD | NEW |