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

Unified Diff: chrome/browser/printing/printed_document.h

Issue 149148: Remove unused notification in print code to simplify before refactoring.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « chrome/browser/printing/print_job_manager.cc ('k') | chrome/browser/printing/printed_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printed_document.h
===================================================================
--- chrome/browser/printing/printed_document.h (revision 19830)
+++ chrome/browser/printing/printed_document.h (working copy)
@@ -96,6 +96,12 @@
const std::wstring& time() const { return immutable_.time_; }
const int cookie() const { return immutable_.cookie_; }
+ // Sets a path where to dump printing output files for debugging. If never set
+ // no files are generated.
+ static void set_debug_dump_path(const std::wstring& debug_dump_path);
+
+ static const std::wstring& debug_dump_path();
+
private:
// Array of EMF data for each print previewed page.
typedef std::map<int, scoped_refptr<PrintedPage>> PrintedPages;
@@ -166,6 +172,8 @@
PageOverlays::VerticalPosition y,
const gfx::Font& font) const;
+ void DebugDump(const PrintedPage& page);
+
// All writable data member access must be guarded by this lock. Needs to be
// mutable since it can be acquired from const member functions.
mutable Lock lock_;
« no previous file with comments | « chrome/browser/printing/print_job_manager.cc ('k') | chrome/browser/printing/printed_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698