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

Unified Diff: printing/backend/win_helper.h

Issue 10387107: Cleanup: Remove unneeded scoped_ptr.h includes from ppapi, printing, remoting, and sync. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/var.h ('k') | printing/backend/win_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/win_helper.h
===================================================================
--- printing/backend/win_helper.h (revision 137269)
+++ printing/backend/win_helper.h (working copy)
@@ -13,7 +13,6 @@
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "base/win/scoped_handle.h"
#include "printing/printing_export.h"
@@ -58,10 +57,10 @@
static bool Init();
static HRESULT OpenProvider(const string16& printer_name,
DWORD version,
- HPTPROVIDER *provider);
+ HPTPROVIDER* provider);
static HRESULT GetPrintCapabilities(HPTPROVIDER provider,
- IStream *print_ticket,
- IStream *capabilities,
+ IStream* print_ticket,
+ IStream* capabilities,
BSTR* error_message);
static HRESULT ConvertDevModeToPrintTicket(HPTPROVIDER provider,
ULONG devmode_size_in_bytes,
@@ -74,7 +73,7 @@
EDefaultDevmodeType base_devmode_type,
EPrintTicketScope scope,
ULONG* devmode_byte_count,
- PDEVMODE *devmode,
+ PDEVMODE* devmode,
BSTR* error_message);
static HRESULT MergeAndValidatePrintTicket(HPTPROVIDER provider,
IStream* base_ticket,
@@ -84,6 +83,7 @@
BSTR* error_message);
static HRESULT ReleaseMemory(PVOID buffer);
static HRESULT CloseProvider(HPTPROVIDER provider);
+
private:
XPSModule() { }
static bool InitImpl();
@@ -115,7 +115,7 @@
const LPCWSTR output_file_name,
HANDLE progress_event,
HANDLE completion_event,
- UINT8 *printable_pages_on,
+ UINT8* printable_pages_on,
UINT32 printable_pages_on_count,
IXpsPrintJob **xps_print_job,
IXpsPrintJobStream **document_stream,
« no previous file with comments | « ppapi/shared_impl/var.h ('k') | printing/backend/win_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698