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

Side by Side Diff: chrome/browser/task_manager/printing_information.cc

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/task_manager/printing_information.h" 5 #include "chrome/browser/task_manager/printing_information.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/favicon/favicon_tab_helper.h" 10 #include "chrome/browser/favicon/favicon_tab_helper.h"
(...skipping 15 matching lines...) Expand all
26 using content::WebContents; 26 using content::WebContents;
27 27
28 namespace task_manager { 28 namespace task_manager {
29 29
30 class PrintingResource : public RendererResource { 30 class PrintingResource : public RendererResource {
31 public: 31 public:
32 explicit PrintingResource(content::WebContents* web_contents); 32 explicit PrintingResource(content::WebContents* web_contents);
33 virtual ~PrintingResource(); 33 virtual ~PrintingResource();
34 34
35 // Resource methods: 35 // Resource methods:
36 virtual Type GetType() const OVERRIDE; 36 virtual Type GetType() const override;
37 virtual base::string16 GetTitle() const OVERRIDE; 37 virtual base::string16 GetTitle() const override;
38 virtual gfx::ImageSkia GetIcon() const OVERRIDE; 38 virtual gfx::ImageSkia GetIcon() const override;
39 virtual content::WebContents* GetWebContents() const OVERRIDE; 39 virtual content::WebContents* GetWebContents() const override;
40 40
41 private: 41 private:
42 content::WebContents* web_contents_; 42 content::WebContents* web_contents_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(PrintingResource); 44 DISALLOW_COPY_AND_ASSIGN(PrintingResource);
45 }; 45 };
46 46
47 PrintingResource::PrintingResource(WebContents* web_contents) 47 PrintingResource::PrintingResource(WebContents* web_contents)
48 : RendererResource(web_contents->GetRenderProcessHost()->GetHandle(), 48 : RendererResource(web_contents->GetRenderProcessHost()->GetHandle(),
49 web_contents->GetRenderViewHost()), 49 web_contents->GetRenderViewHost()),
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 printing::PrintPreviewDialogController::GetInstance()->ForEachPreviewDialog( 105 printing::PrintPreviewDialogController::GetInstance()->ForEachPreviewDialog(
106 callback); 106 callback);
107 } 107 }
108 108
109 scoped_ptr<RendererResource> PrintingInformation::MakeResource( 109 scoped_ptr<RendererResource> PrintingInformation::MakeResource(
110 WebContents* web_contents) { 110 WebContents* web_contents) {
111 return scoped_ptr<RendererResource>(new PrintingResource(web_contents)); 111 return scoped_ptr<RendererResource>(new PrintingResource(web_contents));
112 } 112 }
113 113
114 } // namespace task_manager 114 } // namespace task_manager
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/printing_information.h ('k') | chrome/browser/task_manager/renderer_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698