Lines Matching refs:request_id
168 int request_id) {
170 ExtensionIconRequest* request = GetData(request_id);
177 ClearData(request_id);
180 void ExtensionIconSource::LoadDefaultImage(int request_id) {
181 ExtensionIconRequest* request = GetData(request_id);
199 FinalizeImage(&resized_image, request_id);
203 int request_id) {
204 ExtensionIconRequest* request = GetData(request_id);
208 base::Bind(&ExtensionIconSource::OnImageLoaded, AsWeakPtr(), request_id));
211 void ExtensionIconSource::LoadFaviconImage(int request_id) {
216 LoadDefaultImage(request_id);
221 AppLaunchInfo::GetFullLaunchURL(GetData(request_id)->extension);
228 request_id),
233 int request_id,
235 ExtensionIconRequest* request = GetData(request_id);
239 LoadDefaultImage(request_id);
247 ClearData(request_id);
250 bitmap_result.bitmap_data->size()), request_id);
254 void ExtensionIconSource::OnImageLoaded(int request_id,
257 LoadIconFailed(request_id);
259 FinalizeImage(image.ToSkBitmap(), request_id);
262 void ExtensionIconSource::LoadIconFailed(int request_id) {
263 ExtensionIconRequest* request = GetData(request_id);
268 LoadFaviconImage(request_id);
270 LoadDefaultImage(request_id);
275 int request_id,
313 SetData(request_id, callback, extension, grayscale, size, match_type);
319 int request_id,
331 request_map_[request_id] = request;
335 int request_id) {
336 return request_map_[request_id];
339 void ExtensionIconSource::ClearData(int request_id) {
341 request_map_.find(request_id);