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

Unified Diff: printing/printed_document.h

Issue 8113029: Cleanup: Remove dead code - printing::PrintedPagesSource::RenderSourceName() and printing::Printe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 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_view_manager.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document.h
===================================================================
--- printing/printed_document.h (revision 103831)
+++ printing/printed_document.h (working copy)
@@ -11,7 +11,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "base/synchronization/lock.h"
-#include "googleurl/src/gurl.h"
#include "printing/print_settings.h"
#include "ui/gfx/native_widget_types.h"
@@ -94,10 +93,7 @@
// Getters. All these items are immutable hence thread-safe.
const PrintSettings& settings() const { return immutable_.settings_; }
- const string16& name() const {
- return immutable_.name_;
- }
- const GURL& url() const { return immutable_.url_; }
+ const string16& name() const { return immutable_.name_; }
int cookie() const { return immutable_.cookie_; }
// Sets a path where to dump printing output files for debugging. If never set
@@ -161,9 +157,6 @@
// Document name. Immutable.
string16 name_;
- // URL that generated this document. Immutable.
- GURL url_;
-
// Cookie to uniquely identify this document. It is used to make sure that a
// PrintedPage is correctly belonging to the PrintedDocument. Since
// PrintedPage generation is completely asynchronous, it could be easy to
« no previous file with comments | « chrome/browser/printing/print_view_manager.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698