diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 03:59:05 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 03:59:05 +0000 |
commit | a0f5900848d6580bbfb0a242de097c3ef723eefd (patch) | |
tree | d4005457fb9a7da36b02e585d2e1d338fec9cab1 /printing/print_settings.h | |
parent | ac8c9f8df904be7c51b37257861a0bb8dada3d86 (diff) | |
download | chromium_src-a0f5900848d6580bbfb0a242de097c3ef723eefd.zip chromium_src-a0f5900848d6580bbfb0a242de097c3ef723eefd.tar.gz chromium_src-a0f5900848d6580bbfb0a242de097c3ef723eefd.tar.bz2 |
printing: Convert some wstrings to string16s.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7967004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_settings.h')
-rw-r--r-- | printing/print_settings.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/printing/print_settings.h b/printing/print_settings.h index 23de5b7..4e40231 100644 --- a/printing/print_settings.h +++ b/printing/print_settings.h @@ -35,14 +35,14 @@ class PRINTING_EXPORT PrintSettings { bool Equals(const PrintSettings& rhs) const; void set_landscape(bool landscape) { landscape_ = landscape; } - void set_printer_name(const std::wstring& printer_name) { + void set_printer_name(const string16& printer_name) { printer_name_ = printer_name; } - const std::wstring& printer_name() const { return printer_name_; } - void set_device_name(const std::wstring& device_name) { + const string16& printer_name() const { return printer_name_; } + void set_device_name(const string16& device_name) { device_name_ = device_name; } - const std::wstring& device_name() const { return device_name_; } + const string16& device_name() const { return device_name_; } void set_dpi(int dpi) { dpi_ = dpi; } int dpi() const { return dpi_; } void set_supports_alpha_blend(bool supports_alpha_blend) { @@ -110,10 +110,10 @@ class PRINTING_EXPORT PrintSettings { // Settings that can't be changed without side-effects. // Printer name as shown to the user. - std::wstring printer_name_; + string16 printer_name_; // Printer device name as opened by the OS. - std::wstring device_name_; + string16 device_name_; // Page setup in device units. PageSetup page_setup_device_units_; |