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

Side by Side Diff: chrome/browser/task_manager/guest_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/guest_information.h" 5 #include "chrome/browser/task_manager/guest_information.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "chrome/browser/chrome_notification_types.h" 8 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/browser/favicon/favicon_tab_helper.h" 9 #include "chrome/browser/favicon/favicon_tab_helper.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 22 matching lines...) Expand all
33 using extensions::Extension; 33 using extensions::Extension;
34 34
35 namespace task_manager { 35 namespace task_manager {
36 36
37 class GuestResource : public RendererResource { 37 class GuestResource : public RendererResource {
38 public: 38 public:
39 explicit GuestResource(content::RenderViewHost* render_view_host); 39 explicit GuestResource(content::RenderViewHost* render_view_host);
40 virtual ~GuestResource(); 40 virtual ~GuestResource();
41 41
42 // Resource methods: 42 // Resource methods:
43 virtual Type GetType() const OVERRIDE; 43 virtual Type GetType() const override;
44 virtual base::string16 GetTitle() const OVERRIDE; 44 virtual base::string16 GetTitle() const override;
45 virtual gfx::ImageSkia GetIcon() const OVERRIDE; 45 virtual gfx::ImageSkia GetIcon() const override;
46 virtual content::WebContents* GetWebContents() const OVERRIDE; 46 virtual content::WebContents* GetWebContents() const override;
47 47
48 private: 48 private:
49 DISALLOW_COPY_AND_ASSIGN(GuestResource); 49 DISALLOW_COPY_AND_ASSIGN(GuestResource);
50 }; 50 };
51 51
52 GuestResource::GuestResource(RenderViewHost* render_view_host) 52 GuestResource::GuestResource(RenderViewHost* render_view_host)
53 : RendererResource( 53 : RendererResource(
54 render_view_host->GetSiteInstance()->GetProcess()->GetHandle(), 54 render_view_host->GetSiteInstance()->GetProcess()->GetHandle(),
55 render_view_host) { 55 render_view_host) {
56 } 56 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 } 115 }
116 116
117 scoped_ptr<RendererResource> GuestInformation::MakeResource( 117 scoped_ptr<RendererResource> GuestInformation::MakeResource(
118 WebContents* web_contents) { 118 WebContents* web_contents) {
119 return scoped_ptr<RendererResource>( 119 return scoped_ptr<RendererResource>(
120 new GuestResource(web_contents->GetRenderViewHost())); 120 new GuestResource(web_contents->GetRenderViewHost()));
121 } 121 }
122 122
123 } // namespace task_manager 123 } // namespace task_manager
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/guest_information.h ('k') | chrome/browser/task_manager/panel_information.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698