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

Side by Side Diff: chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/webui/chromeos/imageburner/imageburner_utils.h" 5 #include "chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/task.h"
11 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/common/chrome_paths.h" 11 #include "chrome/common/chrome_paths.h"
13 #include "content/browser/download/download_types.h" 12 #include "content/browser/download/download_types.h"
14 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
16 15
17 using content::BrowserThread; 16 using content::BrowserThread;
18 using content::DownloadItem; 17 using content::DownloadItem;
19 using content::DownloadManager; 18 using content::DownloadManager;
20 using content::WebContents; 19 using content::WebContents;
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 for (ListenerMap::iterator current_listener = listener_range.first; 462 for (ListenerMap::iterator current_listener = listener_range.first;
464 current_listener != listener_range.second; 463 current_listener != listener_range.second;
465 ++current_listener) { 464 ++current_listener) {
466 if (current_listener->second) 465 if (current_listener->second)
467 current_listener->second->OnBurnDownloadStarted(success); 466 current_listener->second->OnBurnDownloadStarted(success);
468 } 467 }
469 listeners_.erase(listener_range.first, listener_range.second); 468 listeners_.erase(listener_range.first, listener_range.second);
470 } 469 }
471 470
472 } // namespace imageburner 471 } // namespace imageburner
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698