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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include <memory> |
| 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/files/file.h" | 13 #include "base/files/file.h" |
12 #include "base/files/scoped_temp_dir.h" | 14 #include "base/files/scoped_temp_dir.h" |
13 #include "base/md5.h" | 15 #include "base/md5.h" |
14 #include "base/memory/ref_counted_memory.h" | 16 #include "base/memory/ref_counted_memory.h" |
15 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
16 #include "base/task/cancelable_task_tracker.h" | 18 #include "base/task/cancelable_task_tracker.h" |
17 #include "build/build_config.h" | 19 #include "build/build_config.h" |
18 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utilit
y_client.h" | 20 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utilit
y_client.h" |
19 #include "chrome/common/extensions/api/image_writer_private.h" | 21 #include "chrome/common/extensions/api/image_writer_private.h" |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 | 223 |
222 // CleanUp operations that must be run. All these functions are run on the | 224 // CleanUp operations that must be run. All these functions are run on the |
223 // FILE thread. | 225 // FILE thread. |
224 std::vector<base::Closure> cleanup_functions_; | 226 std::vector<base::Closure> cleanup_functions_; |
225 }; | 227 }; |
226 | 228 |
227 } // namespace image_writer | 229 } // namespace image_writer |
228 } // namespace extensions | 230 } // namespace extensions |
229 | 231 |
230 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ | 232 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_H_ |
OLD | NEW |