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

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

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 void ClearData(int request_id); 145 void ClearData(int request_id);
146 146
147 Profile* profile_; 147 Profile* profile_;
148 148
149 // Maps tracker ids to request ids. 149 // Maps tracker ids to request ids.
150 std::map<int, int> tracker_map_; 150 std::map<int, int> tracker_map_;
151 151
152 // Maps request_ids to ExtensionIconRequests. 152 // Maps request_ids to ExtensionIconRequests.
153 std::map<int, ExtensionIconRequest*> request_map_; 153 std::map<int, ExtensionIconRequest*> request_map_;
154 154
155 scoped_ptr<SkBitmap> default_app_data_; 155 std::unique_ptr<SkBitmap> default_app_data_;
156 156
157 scoped_ptr<SkBitmap> default_extension_data_; 157 std::unique_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