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/md5.h" | 9 #include "base/md5.h" |
10 #include "base/memory/ref_counted_memory.h" | 10 #include "base/memory/ref_counted_memory.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/task/cancelable_task_tracker.h" |
12 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
13 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utils.
h" | 14 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utils.
h" |
14 #include "chrome/common/cancelable_task_tracker.h" | |
15 #include "chrome/common/extensions/api/image_writer_private.h" | 15 #include "chrome/common/extensions/api/image_writer_private.h" |
16 #include "third_party/zlib/google/zip_reader.h" | 16 #include "third_party/zlib/google/zip_reader.h" |
17 | 17 |
18 namespace image_writer_api = extensions::api::image_writer_private; | 18 namespace image_writer_api = extensions::api::image_writer_private; |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class FilePath; | 21 class FilePath; |
22 } // namespace base | 22 } // namespace base |
23 | 23 |
24 namespace extensions { | 24 namespace extensions { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 // CleanUp operations that must be run. All these functions are run on the | 174 // CleanUp operations that must be run. All these functions are run on the |
175 // FILE thread. | 175 // FILE thread. |
176 std::vector<base::Closure> cleanup_functions_; | 176 std::vector<base::Closure> cleanup_functions_; |
177 }; | 177 }; |
178 | 178 |
179 } // namespace image_writer | 179 } // namespace image_writer |
180 } // namespace extensions | 180 } // namespace extensions |
181 | 181 |
182 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ | 182 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ |
OLD | NEW |