| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HANDLERS_LINKED_APP_ICONS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_LINKED_APP_ICONS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_LINKED_APP_ICONS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_LINKED_APP_ICONS_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "extensions/common/extension.h" | 11 #include "extensions/common/extension.h" |
| 12 #include "extensions/common/manifest_handler.h" | 12 #include "extensions/common/manifest_handler.h" |
| 13 | 13 |
| 14 namespace base { | |
| 15 class DictionaryValue; | |
| 16 } | |
| 17 | |
| 18 namespace extensions { | 14 namespace extensions { |
| 19 | 15 |
| 20 // A structure to hold the parsed linked app icon data. | 16 // A structure to hold the parsed linked app icon data. |
| 21 struct LinkedAppIcons : public Extension::ManifestData { | 17 struct LinkedAppIcons : public Extension::ManifestData { |
| 22 struct IconInfo { | 18 struct IconInfo { |
| 23 IconInfo(); | 19 IconInfo(); |
| 24 ~IconInfo(); | 20 ~IconInfo(); |
| 25 | 21 |
| 26 GURL url; | 22 GURL url; |
| 27 int size; | 23 int size; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 46 | 42 |
| 47 private: | 43 private: |
| 48 const std::vector<std::string> Keys() const override; | 44 const std::vector<std::string> Keys() const override; |
| 49 | 45 |
| 50 DISALLOW_COPY_AND_ASSIGN(LinkedAppIconsHandler); | 46 DISALLOW_COPY_AND_ASSIGN(LinkedAppIconsHandler); |
| 51 }; | 47 }; |
| 52 | 48 |
| 53 } // namespace extensions | 49 } // namespace extensions |
| 54 | 50 |
| 55 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_LINKED_APP_ICONS_H_ | 51 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_LINKED_APP_ICONS_H_ |
| OLD | NEW |