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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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" 10 #include "base/task.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
13 #include "content/browser/download/download_types.h" 13 #include "content/browser/download/download_types.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 15
16 using content::BrowserThread;
17
16 namespace imageburner { 18 namespace imageburner {
17 19
18 static const char kConfigFileUrl[] = 20 static const char kConfigFileUrl[] =
19 "https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.conf"; 21 "https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.conf";
20 static const char kTempImageFolderName[] = "chromeos_image"; 22 static const char kTempImageFolderName[] = "chromeos_image";
21 static const char kConfigFileName[] = "recovery.conf"; 23 static const char kConfigFileName[] = "recovery.conf";
22 24
23 //////////////////////////////////////////////////////////////////////////////// 25 ////////////////////////////////////////////////////////////////////////////////
24 // 26 //
25 // ConfigFile 27 // ConfigFile
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 current_listener != listener_range.second; 457 current_listener != listener_range.second;
456 ++current_listener) { 458 ++current_listener) {
457 if (current_listener->second) 459 if (current_listener->second)
458 current_listener->second->OnBurnDownloadStarted(success); 460 current_listener->second->OnBurnDownloadStarted(success);
459 } 461 }
460 listeners_.erase(listener_range.first, listener_range.second); 462 listeners_.erase(listener_range.first, listener_range.second);
461 } 463 }
462 464
463 } // namespace imageburner. 465 } // namespace imageburner.
464 466
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698