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