| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/common/extensions/extension.h" | 5 #include "chrome/common/extensions/extension.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/common/extensions/extension_action.h" | 26 #include "chrome/common/extensions/extension_action.h" |
| 27 #include "chrome/common/extensions/extension_constants.h" | 27 #include "chrome/common/extensions/extension_constants.h" |
| 28 #include "chrome/common/extensions/extension_error_utils.h" | 28 #include "chrome/common/extensions/extension_error_utils.h" |
| 29 #include "chrome/common/extensions/extension_l10n_util.h" | 29 #include "chrome/common/extensions/extension_l10n_util.h" |
| 30 #include "chrome/common/extensions/extension_resource.h" | 30 #include "chrome/common/extensions/extension_resource.h" |
| 31 #include "chrome/common/extensions/user_script.h" | 31 #include "chrome/common/extensions/user_script.h" |
| 32 #include "chrome/common/notification_service.h" | 32 #include "chrome/common/notification_service.h" |
| 33 #include "chrome/common/url_constants.h" | 33 #include "chrome/common/url_constants.h" |
| 34 #include "grit/chromium_strings.h" | 34 #include "grit/chromium_strings.h" |
| 35 #include "grit/generated_resources.h" | 35 #include "grit/generated_resources.h" |
| 36 #include "third_party/skia/include/core/SkBitmap.h" |
| 36 #include "webkit/glue/image_decoder.h" | 37 #include "webkit/glue/image_decoder.h" |
| 37 | 38 |
| 38 #if defined(OS_WIN) | 39 #if defined(OS_WIN) |
| 39 #include "base/registry.h" | 40 #include "base/registry.h" |
| 40 #endif | 41 #endif |
| 41 | 42 |
| 42 namespace keys = extension_manifest_keys; | 43 namespace keys = extension_manifest_keys; |
| 43 namespace values = extension_manifest_values; | 44 namespace values = extension_manifest_values; |
| 44 namespace errors = extension_manifest_errors; | 45 namespace errors = extension_manifest_errors; |
| 45 | 46 |
| (...skipping 1675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1721 } else { | 1722 } else { |
| 1722 return false; | 1723 return false; |
| 1723 } | 1724 } |
| 1724 } else { | 1725 } else { |
| 1725 return true; | 1726 return true; |
| 1726 } | 1727 } |
| 1727 } | 1728 } |
| 1728 } | 1729 } |
| 1729 return false; | 1730 return false; |
| 1730 } | 1731 } |
| OLD | NEW |