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

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

Issue 5854003: Remove CrOS hack from ppapi.gyp that made the include directories work. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 5
6 #ifndef CHROME_BROWSER_CHROMEOS_CROS_BURN_LIBRARY_H_ 6 #ifndef CHROME_BROWSER_CHROMEOS_CROS_BURN_LIBRARY_H_
7 #define CHROME_BROWSER_CHROMEOS_CROS_BURN_LIBRARY_H_ 7 #define CHROME_BROWSER_CHROMEOS_CROS_BURN_LIBRARY_H_
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "base/weak_ptr.h" 14 #include "base/weak_ptr.h"
15 15 #include "third_party/cros/chromeos_imageburn.h"
16 #include "cros/chromeos_imageburn.h"
17 16
18 struct ImageBurnStatus { 17 struct ImageBurnStatus {
19 explicit ImageBurnStatus(const chromeos::BurnStatus& status) 18 explicit ImageBurnStatus(const chromeos::BurnStatus& status)
20 : amount_burnt(status.amount_burnt), 19 : amount_burnt(status.amount_burnt),
21 total_size(status.total_size) { 20 total_size(status.total_size) {
22 if (status.target_path) 21 if (status.target_path)
23 target_path = status.target_path; 22 target_path = status.target_path;
24 if (status.error) 23 if (status.error)
25 error = status.error; 24 error = status.error;
26 } 25 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 base::WeakPtr<BurnLibraryImpl> library_; 93 base::WeakPtr<BurnLibraryImpl> library_;
95 94
96 friend class base::RefCountedThreadSafe<BurnLibraryTaskProxy>; 95 friend class base::RefCountedThreadSafe<BurnLibraryTaskProxy>;
97 96
98 DISALLOW_COPY_AND_ASSIGN(BurnLibraryTaskProxy); 97 DISALLOW_COPY_AND_ASSIGN(BurnLibraryTaskProxy);
99 }; 98 };
100 99
101 } // namespace chromeos 100 } // namespace chromeos
102 101
103 #endif // CHROME_BROWSER_CHROMEOS_CROS_BURN_LIBRARY_H_ 102 #endif // CHROME_BROWSER_CHROMEOS_CROS_BURN_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/brightness_library.h ('k') | chrome/browser/chromeos/cros/cros_library_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698