Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_EXTENSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 #include "chrome/common/extensions/manifest.h" | 26 #include "chrome/common/extensions/manifest.h" |
| 27 #include "chrome/common/extensions/permissions/api_permission.h" | 27 #include "chrome/common/extensions/permissions/api_permission.h" |
| 28 #include "chrome/common/extensions/permissions/api_permission_set.h" | 28 #include "chrome/common/extensions/permissions/api_permission_set.h" |
| 29 #include "chrome/common/extensions/permissions/permission_message.h" | 29 #include "chrome/common/extensions/permissions/permission_message.h" |
| 30 #include "chrome/common/extensions/user_script.h" | 30 #include "chrome/common/extensions/user_script.h" |
| 31 #include "extensions/common/install_warning.h" | 31 #include "extensions/common/install_warning.h" |
| 32 #include "extensions/common/url_pattern.h" | 32 #include "extensions/common/url_pattern.h" |
| 33 #include "extensions/common/url_pattern_set.h" | 33 #include "extensions/common/url_pattern_set.h" |
| 34 #include "googleurl/src/gurl.h" | 34 #include "googleurl/src/gurl.h" |
| 35 #include "ui/base/accelerators/accelerator.h" | 35 #include "ui/base/accelerators/accelerator.h" |
| 36 #include "ui/gfx/image/image_skia.h" | |
| 36 #include "ui/gfx/size.h" | 37 #include "ui/gfx/size.h" |
| 37 | 38 |
| 38 class ExtensionAction; | 39 class ExtensionAction; |
| 39 class ExtensionResource; | 40 class ExtensionResource; |
| 40 class SkBitmap; | 41 class SkBitmap; |
| 41 class Version; | 42 class Version; |
| 42 | 43 |
| 43 namespace base { | 44 namespace base { |
| 44 class DictionaryValue; | 45 class DictionaryValue; |
| 45 class ListValue; | 46 class ListValue; |
| (...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 958 // only the permissions that have added, and for Reason::REMOVED, this would | 959 // only the permissions that have added, and for Reason::REMOVED, this would |
| 959 // only contain the removed permissions. | 960 // only contain the removed permissions. |
| 960 const PermissionSet* permissions; | 961 const PermissionSet* permissions; |
| 961 | 962 |
| 962 UpdatedExtensionPermissionsInfo( | 963 UpdatedExtensionPermissionsInfo( |
| 963 const Extension* extension, | 964 const Extension* extension, |
| 964 const PermissionSet* permissions, | 965 const PermissionSet* permissions, |
| 965 Reason reason); | 966 Reason reason); |
| 966 }; | 967 }; |
| 967 | 968 |
| 969 struct ExtensionInstallingDetails { | |
|
benwells
2013/02/18 07:56:36
I think this should go somewhere else. Not sure wh
koz (OOO until 15th September)
2013/02/19 03:20:36
As discussed, renamed to ExtensionInstallingInfo t
| |
| 970 ExtensionInstallingDetails(const std::string& extension_id, | |
| 971 const std::string& extension_name, | |
| 972 gfx::ImageSkia icon, | |
| 973 bool is_app) | |
| 974 : extension_id(extension_id), | |
| 975 extension_name(extension_name), | |
| 976 icon(icon), | |
| 977 is_app(is_app) {} | |
| 978 | |
| 979 std::string extension_id; | |
| 980 std::string extension_name; | |
| 981 gfx::ImageSkia icon; | |
| 982 bool is_app; | |
| 983 }; | |
| 984 | |
| 968 } // namespace extensions | 985 } // namespace extensions |
| 969 | 986 |
| 970 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 987 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |