OLD | NEW |
---|---|
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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
210 #endif | 210 #endif |
211 } | 211 } |
212 | 212 |
213 PrintedDocument::Mutable::~Mutable() { | 213 PrintedDocument::Mutable::~Mutable() { |
214 } | 214 } |
215 | 215 |
216 PrintedDocument::Immutable::Immutable(const PrintSettings& settings, | 216 PrintedDocument::Immutable::Immutable(const PrintSettings& settings, |
217 PrintedPagesSource* source, | 217 PrintedPagesSource* source, |
218 int cookie) | 218 int cookie) |
219 : settings_(settings), | 219 : settings_(settings), |
220 source_message_loop_(MessageLoop::current()), | 220 source_message_loop_(base::MessageLoop::current()), |
221 name_(source->RenderSourceName()), | 221 name_(source->RenderSourceName()), |
222 cookie_(cookie) { | 222 cookie_(cookie) {} |
Lei Zhang
2013/05/06 04:05:55
The rest of the file doesn't use '{}' -> leave it
xhwang
2013/05/06 16:07:20
Done.
| |
223 } | |
224 | 223 |
225 PrintedDocument::Immutable::~Immutable() { | 224 PrintedDocument::Immutable::~Immutable() { |
226 } | 225 } |
227 | 226 |
228 #if defined(OS_POSIX) && defined(USE_AURA) | 227 #if defined(OS_POSIX) && defined(USE_AURA) |
229 // This function is not used on aura linux/chromeos. | 228 // This function is not used on aura linux/chromeos. |
230 void PrintedDocument::RenderPrintedPage(const PrintedPage& page, | 229 void PrintedDocument::RenderPrintedPage(const PrintedPage& page, |
231 PrintingContext* context) const { | 230 PrintingContext* context) const { |
232 } | 231 } |
233 #endif | 232 #endif |
234 | 233 |
235 } // namespace printing | 234 } // namespace printing |
OLD | NEW |