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

Side by Side Diff: chrome/browser/chromeos/cros/burn_library.cc

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 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 #include "chrome/browser/chromeos/cros/burn_library.h" 5 #include "chrome/browser/chromeos/cros/burn_library.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/ref_counted_memory.h" 9 #include "base/memory/ref_counted_memory.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "base/threading/worker_pool.h" 11 #include "base/threading/worker_pool.h"
12 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h"
13 #include "chrome/browser/chromeos/dbus/image_burner_client.h"
14 #include "chrome/browser/chromeos/disks/disk_mount_manager.h" 12 #include "chrome/browser/chromeos/disks/disk_mount_manager.h"
15 #include "chrome/common/zip.h" 13 #include "chrome/common/zip.h"
14 #include "chromeos/dbus/dbus_thread_manager.h"
15 #include "chromeos/dbus/image_burner_client.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 namespace { 19 namespace {
20 20
21 // Unzips |source_zip_file| and sets the filename of the unzipped image to 21 // Unzips |source_zip_file| and sets the filename of the unzipped image to
22 // |source_image_file|. 22 // |source_image_file|.
23 void UnzipImage(const FilePath& source_zip_file, 23 void UnzipImage(const FilePath& source_zip_file,
24 const std::string& image_name, 24 const std::string& image_name,
25 scoped_refptr<base::RefCountedString> source_image_file) { 25 scoped_refptr<base::RefCountedString> source_image_file) {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 BurnLibrary* impl; 247 BurnLibrary* impl;
248 if (stub) 248 if (stub)
249 impl = new BurnLibraryStubImpl(); 249 impl = new BurnLibraryStubImpl();
250 else 250 else
251 impl = new BurnLibraryImpl(); 251 impl = new BurnLibraryImpl();
252 impl->Init(); 252 impl->Init();
253 return impl; 253 return impl;
254 } 254 }
255 255
256 } // namespace chromeos 256 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698