| 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 CHROME_UTILITY_EXTENSIONS_UNPACKER_H_ | 5 #ifndef CHROME_UTILITY_EXTENSIONS_UNPACKER_H_ |
| 6 #define CHROME_UTILITY_EXTENSIONS_UNPACKER_H_ | 6 #define CHROME_UTILITY_EXTENSIONS_UNPACKER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/common/extensions/manifest.h" | 13 #include "extensions/common/manifest.h" |
| 14 | 14 |
| 15 class SkBitmap; | 15 class SkBitmap; |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class DictionaryValue; | 18 class DictionaryValue; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace extensions { | 21 namespace extensions { |
| 22 | 22 |
| 23 // This class unpacks an extension. It is designed to be used in a sandboxed | 23 // This class unpacks an extension. It is designed to be used in a sandboxed |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 // The last error message that was set. Empty if there were no errors. | 102 // The last error message that was set. Empty if there were no errors. |
| 103 string16 error_message_; | 103 string16 error_message_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(Unpacker); | 105 DISALLOW_COPY_AND_ASSIGN(Unpacker); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace extensions | 108 } // namespace extensions |
| 109 | 109 |
| 110 #endif // CHROME_UTILITY_EXTENSIONS_UNPACKER_H_ | 110 #endif // CHROME_UTILITY_EXTENSIONS_UNPACKER_H_ |
| OLD | NEW |