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

Side by Side Diff: chrome/browser/task_manager/background_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/background_information.h" 5 #include "chrome/browser/task_manager/background_information.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/background/background_contents_service.h" 10 #include "chrome/browser/background/background_contents_service.h"
(...skipping 27 matching lines...) Expand all
38 38
39 namespace task_manager { 39 namespace task_manager {
40 40
41 class BackgroundContentsResource : public RendererResource { 41 class BackgroundContentsResource : public RendererResource {
42 public: 42 public:
43 BackgroundContentsResource(BackgroundContents* background_contents, 43 BackgroundContentsResource(BackgroundContents* background_contents,
44 const base::string16& application_name); 44 const base::string16& application_name);
45 virtual ~BackgroundContentsResource(); 45 virtual ~BackgroundContentsResource();
46 46
47 // Resource methods: 47 // Resource methods:
48 virtual base::string16 GetTitle() const OVERRIDE; 48 virtual base::string16 GetTitle() const override;
49 virtual gfx::ImageSkia GetIcon() const OVERRIDE; 49 virtual gfx::ImageSkia GetIcon() const override;
50 50
51 const base::string16& application_name() const { return application_name_; } 51 const base::string16& application_name() const { return application_name_; }
52 52
53 private: 53 private:
54 BackgroundContents* background_contents_; 54 BackgroundContents* background_contents_;
55 55
56 base::string16 application_name_; 56 base::string16 application_name_;
57 57
58 // The icon painted for BackgroundContents. 58 // The icon painted for BackgroundContents.
59 // TODO(atwilson): Use the favicon when there's a way to get the favicon for 59 // TODO(atwilson): Use the favicon when there's a way to get the favicon for
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 application_name = base::UTF8ToUTF16(extension->name()); 164 application_name = base::UTF8ToUTF16(extension->name());
165 return scoped_ptr<RendererResource>( 165 return scoped_ptr<RendererResource>(
166 new BackgroundContentsResource(*iterator, application_name)); 166 new BackgroundContentsResource(*iterator, application_name));
167 } 167 }
168 } 168 }
169 NOTREACHED(); 169 NOTREACHED();
170 return scoped_ptr<RendererResource>(); 170 return scoped_ptr<RendererResource>();
171 } 171 }
172 172
173 } // namespace task_manager 173 } // namespace task_manager
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/background_information.h ('k') | chrome/browser/task_manager/browser_process_resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698