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

Side by Side Diff: chrome/service/cloud_print/print_system_win.cc

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
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 "chrome/service/cloud_print/print_system.h" 5 #include "chrome/service/cloud_print/print_system.h"
6 6
7 #include <objidl.h> 7 #include <objidl.h>
8 #include <winspool.h> 8 #include <winspool.h>
9 #if defined(_WIN32_WINNT) 9 #if defined(_WIN32_WINNT)
10 #undef _WIN32_WINNT 10 #undef _WIN32_WINNT
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 wchar_t* proxy_id_as_string = NULL; 857 wchar_t* proxy_id_as_string = NULL;
858 UuidToString(&proxy_id, reinterpret_cast<RPC_WSTR *>(&proxy_id_as_string)); 858 UuidToString(&proxy_id, reinterpret_cast<RPC_WSTR *>(&proxy_id_as_string));
859 DCHECK(proxy_id_as_string); 859 DCHECK(proxy_id_as_string);
860 std::string ret; 860 std::string ret;
861 WideToUTF8(proxy_id_as_string, wcslen(proxy_id_as_string), &ret); 861 WideToUTF8(proxy_id_as_string, wcslen(proxy_id_as_string), &ret);
862 RpcStringFree(reinterpret_cast<RPC_WSTR *>(&proxy_id_as_string)); 862 RpcStringFree(reinterpret_cast<RPC_WSTR *>(&proxy_id_as_string));
863 return ret; 863 return ret;
864 } 864 }
865 865
866 scoped_refptr<PrintSystem> PrintSystem::CreateInstance( 866 scoped_refptr<PrintSystem> PrintSystem::CreateInstance(
867 const DictionaryValue* print_system_settings) { 867 const base::DictionaryValue* print_system_settings) {
868 return new PrintSystemWin; 868 return new PrintSystemWin;
869 } 869 }
870 870
871 } // namespace cloud_print 871 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/print_system_dummy.cc ('k') | chrome/service/cloud_print/printer_job_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698