diff options
author | gene@google.com <gene@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 19:25:31 +0000 |
---|---|---|
committer | gene@google.com <gene@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 19:25:31 +0000 |
commit | f920f91f55cb5d549b5048716326ab21914bdff6 (patch) | |
tree | c9fc8a1257124563de4f68e8370fb318fd6cc93d /chrome/service | |
parent | 44394efebe11332e070541d7f288d341ccd8b207 (diff) | |
download | chromium_src-f920f91f55cb5d549b5048716326ab21914bdff6.zip chromium_src-f920f91f55cb5d549b5048716326ab21914bdff6.tar.gz chromium_src-f920f91f55cb5d549b5048716326ab21914bdff6.tar.bz2 |
Fix warnings on Mac that has been reported by Eric.
"warning: 'cloud_print::PrintSystemCUPS' has a field
'cloud_print::PrintSystemCUPS::printer_map_' whose type uses the
anonymous namespace"
For some reasons my machine did not produce such warnings and
print_system_cups.cc compiled just fine.
Eric, Could you please verify this fixes the issue?
BUG=none
TEST=Verify no warnings produced on Mac
Review URL: http://codereview.chromium.org/4632004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65829 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service')
-rw-r--r-- | chrome/service/cloud_print/print_system_cups.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/service/cloud_print/print_system_cups.cc b/chrome/service/cloud_print/print_system_cups.cc index ad57466..fe734b0 100644 --- a/chrome/service/cloud_print/print_system_cups.cc +++ b/chrome/service/cloud_print/print_system_cups.cc @@ -45,6 +45,10 @@ const int kCheckForPrinterUpdatesMs = 6*60*60*1000; // Job update timeput const int kJobUpdateTimeoutMs = 5000; +} // namespace + +namespace cloud_print { + struct PrintServerInfoCUPS { GURL url; scoped_refptr<printing::PrintBackend> backend; @@ -56,10 +60,6 @@ struct PrintServerInfoCUPS { CapsMap caps_cache; }; -} // namespace - -namespace cloud_print { - class PrintSystemCUPS : public PrintSystem { public: explicit PrintSystemCUPS(const DictionaryValue* print_system_settings); |