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" |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class DictionaryValue; | 25 class DictionaryValue; |
26 class SequencedTaskRunner; | 26 class SequencedTaskRunner; |
27 } | 27 } |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 class UtilityProcessHost; | 30 class UtilityProcessHost; |
31 } | 31 } |
32 | 32 |
33 namespace crypto { | |
34 class SecureHash; | |
35 } | |
36 | |
37 namespace extensions { | 33 namespace extensions { |
38 class Extension; | 34 class Extension; |
39 | 35 |
40 class SandboxedUnpackerClient | 36 class SandboxedUnpackerClient |
41 : public base::RefCountedDeleteOnMessageLoop<SandboxedUnpackerClient> { | 37 : public base::RefCountedDeleteOnMessageLoop<SandboxedUnpackerClient> { |
42 public: | 38 public: |
43 // Initialize the ref-counted base to always delete on the UI thread. Note | 39 // Initialize the ref-counted base to always delete on the UI thread. Note |
44 // the constructor call must also happen on the UI thread. | 40 // the constructor call must also happen on the UI thread. |
45 SandboxedUnpackerClient(); | 41 SandboxedUnpackerClient(); |
46 | 42 |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 | 304 |
309 // Used for sending tasks to the utility process. | 305 // Used for sending tasks to the utility process. |
310 scoped_refptr<UtilityHostWrapper> utility_wrapper_; | 306 scoped_refptr<UtilityHostWrapper> utility_wrapper_; |
311 | 307 |
312 DISALLOW_COPY_AND_ASSIGN(SandboxedUnpacker); | 308 DISALLOW_COPY_AND_ASSIGN(SandboxedUnpacker); |
313 }; | 309 }; |
314 | 310 |
315 } // namespace extensions | 311 } // namespace extensions |
316 | 312 |
317 #endif // EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ | 313 #endif // EXTENSIONS_BROWSER_SANDBOXED_UNPACKER_H_ |
OLD | NEW |