Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: printing/backend/cups_helper.cc

Issue 18919005: Migrate from googleurl/ includes to url/ ones in the remaining top-level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make googleurl a temp include rule - to prevent others including it again Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/shared_impl/ppb_url_util_shared.cc ('k') | printing/backend/print_backend_cups.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "printing/backend/cups_helper.h" 5 #include "printing/backend/cups_helper.h"
6 6
7 #include <cups/ppd.h> 7 #include <cups/ppd.h>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_split.h"
12 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
13 #include "base/strings/string_split.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "googleurl/src/gurl.h"
16 #include "printing/backend/print_backend.h" 15 #include "printing/backend/print_backend.h"
17 #include "printing/backend/print_backend_consts.h" 16 #include "printing/backend/print_backend_consts.h"
17 #include "url/gurl.h"
18 18
19 // This section contains helper code for PPD parsing for semantic capabilities. 19 // This section contains helper code for PPD parsing for semantic capabilities.
20 namespace { 20 namespace {
21 21
22 const char kColorDevice[] = "ColorDevice"; 22 const char kColorDevice[] = "ColorDevice";
23 const char kColorModel[] = "ColorModel"; 23 const char kColorModel[] = "ColorModel";
24 const char kColorMode[] = "ColorMode"; 24 const char kColorMode[] = "ColorMode";
25 const char kProcessColorModel[] = "ProcessColorModel"; 25 const char kProcessColorModel[] = "ProcessColorModel";
26 const char kPrintoutMode[] = "PrintoutMode"; 26 const char kPrintoutMode[] = "PrintoutMode";
27 const char kDraftGray[] = "Draft.Gray"; 27 const char kDraftGray[] = "Draft.Gray";
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 caps.color_default = is_color; 387 caps.color_default = is_color;
388 388
389 ppdClose(ppd); 389 ppdClose(ppd);
390 base::Delete(ppd_file_path, false); 390 base::Delete(ppd_file_path, false);
391 391
392 *printer_info = caps; 392 *printer_info = caps;
393 return true; 393 return true;
394 } 394 }
395 395
396 } // namespace printing 396 } // namespace printing
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_url_util_shared.cc ('k') | printing/backend/print_backend_cups.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698