OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/file.h" | 9 #include "base/files/file.h" |
10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
11 #include "base/md5.h" | 11 #include "base/md5.h" |
12 #include "base/memory/ref_counted_memory.h" | 12 #include "base/memory/ref_counted_memory.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/task/cancelable_task_tracker.h" | 14 #include "base/task/cancelable_task_tracker.h" |
15 #include "base/timer/timer.h" | |
16 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utilit
y_client.h" | 15 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utilit
y_client.h" |
17 #include "chrome/common/extensions/api/image_writer_private.h" | 16 #include "chrome/common/extensions/api/image_writer_private.h" |
18 #include "third_party/zlib/google/zip_reader.h" | 17 #include "third_party/zlib/google/zip_reader.h" |
19 | 18 |
20 namespace image_writer_api = extensions::api::image_writer_private; | 19 namespace image_writer_api = extensions::api::image_writer_private; |
21 | 20 |
22 namespace base { | 21 namespace base { |
23 class FilePath; | 22 class FilePath; |
24 } // namespace base | 23 } // namespace base |
25 | 24 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 | 212 |
214 // CleanUp operations that must be run. All these functions are run on the | 213 // CleanUp operations that must be run. All these functions are run on the |
215 // FILE thread. | 214 // FILE thread. |
216 std::vector<base::Closure> cleanup_functions_; | 215 std::vector<base::Closure> cleanup_functions_; |
217 }; | 216 }; |
218 | 217 |
219 } // namespace image_writer | 218 } // namespace image_writer |
220 } // namespace extensions | 219 } // namespace extensions |
221 | 220 |
222 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ | 221 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ |
OLD | NEW |