| 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_COMMON_EXTENSIONS_MANIFEST_HANDLER_HELPERS_H_ | 5 #ifndef EXTENSIONS_COMMON_MANIFEST_HANDLER_HELPERS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLER_HELPERS_H_ | 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLER_HELPERS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 | 12 |
| 13 class ExtensionIconSet; | 13 class ExtensionIconSet; |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class DictionaryValue; | 16 class DictionaryValue; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 29 // Returns success. If load fails, |error| will be set. | 29 // Returns success. If load fails, |error| will be set. |
| 30 bool LoadIconsFromDictionary(const base::DictionaryValue* icons_value, | 30 bool LoadIconsFromDictionary(const base::DictionaryValue* icons_value, |
| 31 const int* icon_sizes, | 31 const int* icon_sizes, |
| 32 size_t num_icon_sizes, | 32 size_t num_icon_sizes, |
| 33 ExtensionIconSet* icons, | 33 ExtensionIconSet* icons, |
| 34 base::string16* error); | 34 base::string16* error); |
| 35 | 35 |
| 36 } // namespace manifest_handler_helpers | 36 } // namespace manifest_handler_helpers |
| 37 } // namespace extensions | 37 } // namespace extensions |
| 38 | 38 |
| 39 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLER_HELPERS_H_ | 39 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLER_HELPERS_H_ |
| OLD | NEW |