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

Side by Side Diff: chrome/browser/printing/print_job.cc

Issue 16296002: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/printing/print_job.h" 5 #include "chrome/browser/printing/print_job.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 PrintedDocument* document, 385 PrintedDocument* document,
386 PrintedPage* page) 386 PrintedPage* page)
387 : document_(document), 387 : document_(document),
388 page_(page), 388 page_(page),
389 type_(type) { 389 type_(type) {
390 } 390 }
391 391
392 JobEventDetails::~JobEventDetails() { 392 JobEventDetails::~JobEventDetails() {
393 } 393 }
394 394
395 PrintedDocument* JobEventDetails::document() const { 395 PrintedDocument* JobEventDetails::document() const { return document_.get(); }
396 return document_;
397 }
398 396
399 PrintedPage* JobEventDetails::page() const { 397 PrintedPage* JobEventDetails::page() const { return page_.get(); }
400 return page_;
401 }
402 398
403 } // namespace printing 399 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/printing/print_job_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698