OLD | NEW |
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 | 5 |
6 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_IMAGEBURNER_UTILS_H_ | 6 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_IMAGEBURNER_UTILS_H_ |
7 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_IMAGEBURNER_UTILS_H_ | 7 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_IMAGEBURNER_UTILS_H_ |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/memory/singleton.h" | 16 #include "base/memory/singleton.h" |
17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
18 #include "chrome/browser/download/download_item.h" | |
19 #include "chrome/browser/download/download_manager.h" | |
20 #include "chrome/browser/download/download_util.h" | 18 #include "chrome/browser/download/download_util.h" |
21 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 19 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 20 #include "content/browser/download/download_item.h" |
| 21 #include "content/browser/download/download_manager.h" |
22 #include "content/browser/tab_contents/tab_contents.h" | 22 #include "content/browser/tab_contents/tab_contents.h" |
23 #include "googleurl/src/gurl.h" | 23 #include "googleurl/src/gurl.h" |
24 #include "net/base/file_stream.h" | 24 #include "net/base/file_stream.h" |
25 #include "ui/base/dragdrop/download_file_interface.h" | 25 #include "ui/base/dragdrop/download_file_interface.h" |
26 | 26 |
27 | 27 |
28 namespace imageburner { | 28 namespace imageburner { |
29 | 29 |
30 // Config file properties. | 30 // Config file properties. |
31 static const std::string kRecoveryToolVersion = "recovery_tool_version"; | 31 static const std::string kRecoveryToolVersion = "recovery_tool_version"; |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 scoped_ptr<StateMachine> state_machine_; | 313 scoped_ptr<StateMachine> state_machine_; |
314 | 314 |
315 scoped_ptr<Downloader> downloader_; | 315 scoped_ptr<Downloader> downloader_; |
316 | 316 |
317 DISALLOW_COPY_AND_ASSIGN(BurnManager); | 317 DISALLOW_COPY_AND_ASSIGN(BurnManager); |
318 }; | 318 }; |
319 | 319 |
320 } // namespace imageburner. | 320 } // namespace imageburner. |
321 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_IMAGEBURNER_UTILS_H_ | 321 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_IMAGEBURNER_UTILS_H_ |
322 | 322 |
OLD | NEW |