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

Side by Side Diff: printing/printing_context_mac.mm

Issue 13322003: Update the remaining references to sys_string_conversions.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
OLDNEW
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 "printing/printing_context_mac.h" 5 #include "printing/printing_context_mac.h"
6 6
7 #import <ApplicationServices/ApplicationServices.h> 7 #import <ApplicationServices/ApplicationServices.h>
8 #import <AppKit/AppKit.h> 8 #import <AppKit/AppKit.h>
9 9
10 #import <iomanip> 10 #import <iomanip>
11 #import <numeric> 11 #import <numeric>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/mac/scoped_cftyperef.h" 14 #include "base/mac/scoped_cftyperef.h"
15 #include "base/mac/scoped_nsautorelease_pool.h" 15 #include "base/mac/scoped_nsautorelease_pool.h"
16 #include "base/mac/scoped_nsexception_enabler.h" 16 #include "base/mac/scoped_nsexception_enabler.h"
17 #include "base/sys_string_conversions.h" 17 #include "base/strings/sys_string_conversions.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "printing/print_settings_initializer_mac.h" 19 #include "printing/print_settings_initializer_mac.h"
20 20
21 namespace printing { 21 namespace printing {
22 22
23 namespace { 23 namespace {
24 24
25 // Return true if PPD name of paper is equal. 25 // Return true if PPD name of paper is equal.
26 bool IsPaperNameEqual(const PMPaper& paper1, const PMPaper& paper2) { 26 bool IsPaperNameEqual(const PMPaper& paper1, const PMPaper& paper2) {
27 CFStringRef name1 = NULL; 27 CFStringRef name1 = NULL;
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 void PrintingContextMac::ReleaseContext() { 510 void PrintingContextMac::ReleaseContext() {
511 print_info_.reset(); 511 print_info_.reset();
512 context_ = NULL; 512 context_ = NULL;
513 } 513 }
514 514
515 gfx::NativeDrawingContext PrintingContextMac::context() const { 515 gfx::NativeDrawingContext PrintingContextMac::context() const {
516 return context_; 516 return context_;
517 } 517 }
518 518
519 } // namespace printing 519 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698