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

Side by Side Diff: printing/printed_document.cc

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/printed_document.h ('k') | printing/printed_pages_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "printing/printed_document.h" 5 #include "printing/printed_document.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 217
218 PrintedDocument::Mutable::~Mutable() { 218 PrintedDocument::Mutable::~Mutable() {
219 } 219 }
220 220
221 PrintedDocument::Immutable::Immutable(const PrintSettings& settings, 221 PrintedDocument::Immutable::Immutable(const PrintSettings& settings,
222 PrintedPagesSource* source, 222 PrintedPagesSource* source,
223 int cookie) 223 int cookie)
224 : settings_(settings), 224 : settings_(settings),
225 source_message_loop_(MessageLoop::current()), 225 source_message_loop_(MessageLoop::current()),
226 name_(source->RenderSourceName()), 226 name_(source->RenderSourceName()),
227 url_(source->RenderSourceUrl()),
228 cookie_(cookie) { 227 cookie_(cookie) {
229 } 228 }
230 229
231 PrintedDocument::Immutable::~Immutable() { 230 PrintedDocument::Immutable::~Immutable() {
232 } 231 }
233 232
234 } // namespace printing 233 } // namespace printing
OLDNEW
« no previous file with comments | « printing/printed_document.h ('k') | printing/printed_pages_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698