OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ | 5 #ifndef EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ |
6 #define EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ | 6 #define EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted_delete_on_message_loop.h" | 13 #include "base/memory/ref_counted_delete_on_message_loop.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
15 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/utility_process_host_client.h" | 17 #include "content/public/browser/utility_process_host_client.h" |
17 #include "extensions/browser/crx_file_info.h" | 18 #include "extensions/browser/crx_file_info.h" |
18 #include "extensions/browser/install/crx_install_error.h" | 19 #include "extensions/browser/install/crx_install_error.h" |
19 #include "extensions/common/manifest.h" | 20 #include "extensions/common/manifest.h" |
20 | 21 |
21 class SkBitmap; | 22 class SkBitmap; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 | 308 |
308 // Used for sending tasks to the utility process. | 309 // Used for sending tasks to the utility process. |
309 scoped_refptr<UtilityHostWrapper> utility_wrapper_; | 310 scoped_refptr<UtilityHostWrapper> utility_wrapper_; |
310 | 311 |
311 DISALLOW_COPY_AND_ASSIGN(SandboxedUnpacker); | 312 DISALLOW_COPY_AND_ASSIGN(SandboxedUnpacker); |
312 }; | 313 }; |
313 | 314 |
314 } // namespace extensions | 315 } // namespace extensions |
315 | 316 |
316 #endif // EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ | 317 #endif // EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ |
OLD | NEW |