| Index: printing/printed_document.h
|
| diff --git a/printing/printed_document.h b/printing/printed_document.h
|
| index 4d0e41ec5d0f17d5bd91ec48f6686ff26df7af90..47c9ec71a664ce0481930dd2309b2e39c0885cb3 100644
|
| --- a/printing/printed_document.h
|
| +++ b/printing/printed_document.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/strings/string16.h"
|
| #include "base/synchronization/lock.h"
|
| #include "printing/print_settings.h"
|
| @@ -21,7 +22,7 @@ class TaskRunner;
|
|
|
| namespace printing {
|
|
|
| -class Metafile;
|
| +class MetafilePlayer;
|
| class PrintedPage;
|
| class PrintedPagesSource;
|
| class PrintingContext;
|
| @@ -45,7 +46,7 @@ class PRINTING_EXPORT PrintedDocument
|
| // Sets a page's data. 0-based. Takes metafile ownership.
|
| // Note: locks for a short amount of time.
|
| void SetPage(int page_number,
|
| - Metafile* metafile,
|
| + scoped_ptr<MetafilePlayer> metafile,
|
| #if defined(OS_WIN)
|
| double shrink,
|
| #endif // OS_WIN
|
| @@ -76,10 +77,6 @@ class PRINTING_EXPORT PrintedDocument
|
| // the source is being destroyed.
|
| void DisconnectSource();
|
|
|
| - // Retrieves the current memory usage of the renderer pages.
|
| - // Note: locks for a short amount of time.
|
| - uint32 MemoryUsage() const;
|
| -
|
| // Sets the number of pages in the document to be rendered. Can only be set
|
| // once.
|
| // Note: locks for a short amount of time.
|
|
|