OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |