| 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_UTILITY_UNPACKER_H_ | 5 #ifndef EXTENSIONS_UTILITY_UNPACKER_H_ |
| 6 #define EXTENSIONS_UTILITY_UNPACKER_H_ | 6 #define EXTENSIONS_UTILITY_UNPACKER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "extensions/common/manifest.h" | 14 #include "extensions/common/manifest.h" |
| 15 | 15 |
| 16 class SkBitmap; | |
| 17 | |
| 18 namespace base { | 16 namespace base { |
| 19 class DictionaryValue; | 17 class DictionaryValue; |
| 20 } | 18 } |
| 21 | 19 |
| 22 namespace extensions { | 20 namespace extensions { |
| 23 | 21 |
| 24 // This class unpacks an extension. It is designed to be used in a sandboxed | 22 // This class unpacks an extension. It is designed to be used in a sandboxed |
| 25 // child process. We parse various bits of the extension, then report back to | 23 // child process. We parse various bits of the extension, then report back to |
| 26 // the browser process, who then transcodes the pre-parsed bits and writes them | 24 // the browser process, who then transcodes the pre-parsed bits and writes them |
| 27 // back out to disk for later use. | 25 // back out to disk for later use. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 108 |
| 111 // The last error message that was set. Empty if there were no errors. | 109 // The last error message that was set. Empty if there were no errors. |
| 112 base::string16 error_message_; | 110 base::string16 error_message_; |
| 113 | 111 |
| 114 DISALLOW_COPY_AND_ASSIGN(Unpacker); | 112 DISALLOW_COPY_AND_ASSIGN(Unpacker); |
| 115 }; | 113 }; |
| 116 | 114 |
| 117 } // namespace extensions | 115 } // namespace extensions |
| 118 | 116 |
| 119 #endif // EXTENSIONS_UTILITY_UNPACKER_H_ | 117 #endif // EXTENSIONS_UTILITY_UNPACKER_H_ |
| OLD | NEW |