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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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
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_worker.h" 5 #include "chrome/browser/printing/print_job_worker.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/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 23 matching lines...) Expand all
34 void HoldRefCallback(const scoped_refptr<printing::PrintJobWorkerOwner>& owner, 34 void HoldRefCallback(const scoped_refptr<printing::PrintJobWorkerOwner>& owner,
35 const base::Closure& callback) { 35 const base::Closure& callback) {
36 callback.Run(); 36 callback.Run();
37 } 37 }
38 38
39 class PrintingContextDelegate : public PrintingContext::Delegate { 39 class PrintingContextDelegate : public PrintingContext::Delegate {
40 public: 40 public:
41 PrintingContextDelegate(int render_process_id, int render_view_id); 41 PrintingContextDelegate(int render_process_id, int render_view_id);
42 virtual ~PrintingContextDelegate(); 42 virtual ~PrintingContextDelegate();
43 43
44 virtual gfx::NativeView GetParentView() OVERRIDE; 44 virtual gfx::NativeView GetParentView() override;
45 virtual std::string GetAppLocale() OVERRIDE; 45 virtual std::string GetAppLocale() override;
46 46
47 private: 47 private:
48 int render_process_id_; 48 int render_process_id_;
49 int render_view_id_; 49 int render_view_id_;
50 }; 50 };
51 51
52 PrintingContextDelegate::PrintingContextDelegate(int render_process_id, 52 PrintingContextDelegate::PrintingContextDelegate(int render_process_id,
53 int render_view_id) 53 int render_view_id)
54 : render_process_id_(render_process_id), 54 : render_process_id_(render_process_id),
55 render_view_id_(render_view_id) { 55 render_view_id_(render_view_id) {
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 document_, 403 document_,
404 scoped_refptr<PrintedPage>())); 404 scoped_refptr<PrintedPage>()));
405 Cancel(); 405 Cancel();
406 406
407 // Makes sure the variables are reinitialized. 407 // Makes sure the variables are reinitialized.
408 document_ = NULL; 408 document_ = NULL;
409 page_number_ = PageNumber::npos(); 409 page_number_ = PageNumber::npos();
410 } 410 }
411 411
412 } // namespace printing 412 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job_unittest.cc ('k') | chrome/browser/printing/print_preview_context_menu_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698