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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_icon_source.h

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ICON_SOURCE_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ICON_SOURCE_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ICON_SOURCE_H_ 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ICON_SOURCE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 int icon_size, 63 int icon_size,
64 ExtensionIconSet::MatchType match, 64 ExtensionIconSet::MatchType match,
65 bool grayscale, 65 bool grayscale,
66 bool* exists); 66 bool* exists);
67 67
68 // A public utility function for accessing the bitmap of the image specified 68 // A public utility function for accessing the bitmap of the image specified
69 // by |resource_id|. 69 // by |resource_id|.
70 static SkBitmap* LoadImageByResourceId(int resource_id); 70 static SkBitmap* LoadImageByResourceId(int resource_id);
71 71
72 // content::URLDataSource implementation. 72 // content::URLDataSource implementation.
73 virtual std::string GetSource() const OVERRIDE; 73 virtual std::string GetSource() const override;
74 virtual std::string GetMimeType(const std::string&) const OVERRIDE; 74 virtual std::string GetMimeType(const std::string&) const override;
75 virtual void StartDataRequest( 75 virtual void StartDataRequest(
76 const std::string& path, 76 const std::string& path,
77 int render_process_id, 77 int render_process_id,
78 int render_frame_id, 78 int render_frame_id,
79 const content::URLDataSource::GotDataCallback& callback) OVERRIDE; 79 const content::URLDataSource::GotDataCallback& callback) override;
80 80
81 private: 81 private:
82 // Encapsulates the request parameters for |request_id|. 82 // Encapsulates the request parameters for |request_id|.
83 struct ExtensionIconRequest; 83 struct ExtensionIconRequest;
84 84
85 virtual ~ExtensionIconSource(); 85 virtual ~ExtensionIconSource();
86 86
87 // Returns the bitmap for the default app image. 87 // Returns the bitmap for the default app image.
88 const SkBitmap* GetDefaultAppImage(); 88 const SkBitmap* GetDefaultAppImage();
89 89
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 scoped_ptr<SkBitmap> default_extension_data_; 157 scoped_ptr<SkBitmap> default_extension_data_;
158 158
159 base::CancelableTaskTracker cancelable_task_tracker_; 159 base::CancelableTaskTracker cancelable_task_tracker_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(ExtensionIconSource); 161 DISALLOW_COPY_AND_ASSIGN(ExtensionIconSource);
162 }; 162 };
163 163
164 } // namespace extensions 164 } // namespace extensions
165 165
166 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ICON_SOURCE_H_ 166 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ICON_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698