| 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 #include "chrome/browser/extensions/component_extensions_whitelist/whitelist.h" | 5 #include "chrome/browser/extensions/component_extensions_whitelist/whitelist.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 case IDR_HANGOUT_SERVICES_MANIFEST: | 88 case IDR_HANGOUT_SERVICES_MANIFEST: |
| 89 #endif | 89 #endif |
| 90 #if defined(ENABLE_HOTWORDING) | 90 #if defined(ENABLE_HOTWORDING) |
| 91 case IDR_HOTWORD_AUDIO_VERIFICATION_MANIFEST: | 91 case IDR_HOTWORD_AUDIO_VERIFICATION_MANIFEST: |
| 92 case IDR_HOTWORD_MANIFEST: | 92 case IDR_HOTWORD_MANIFEST: |
| 93 #endif | 93 #endif |
| 94 case IDR_IDENTITY_API_SCOPE_APPROVAL_MANIFEST: | 94 case IDR_IDENTITY_API_SCOPE_APPROVAL_MANIFEST: |
| 95 #if defined(IMAGE_LOADER_EXTENSION) | 95 #if defined(IMAGE_LOADER_EXTENSION) |
| 96 case IDR_IMAGE_LOADER_MANIFEST: | 96 case IDR_IMAGE_LOADER_MANIFEST: |
| 97 #endif | 97 #endif |
| 98 case IDR_MD_BOOKMARKS_MANIFEST: |
| 98 case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST: | 99 case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST: |
| 99 case IDR_WEBSTORE_MANIFEST: | 100 case IDR_WEBSTORE_MANIFEST: |
| 100 | 101 |
| 101 #if defined(OS_CHROMEOS) | 102 #if defined(OS_CHROMEOS) |
| 102 // Separate ChromeOS list, as it is quite large. | 103 // Separate ChromeOS list, as it is quite large. |
| 103 case IDR_ARC_SUPPORT_MANIFEST: | 104 case IDR_ARC_SUPPORT_MANIFEST: |
| 104 case IDR_AUDIO_PLAYER_MANIFEST: | 105 case IDR_AUDIO_PLAYER_MANIFEST: |
| 105 case IDR_CHROME_APPS_WEBSTORE_WIDGET_MANIFEST: | 106 case IDR_CHROME_APPS_WEBSTORE_WIDGET_MANIFEST: |
| 106 case IDR_CONNECTIVITY_DIAGNOSTICS_LAUNCHER_MANIFEST: | 107 case IDR_CONNECTIVITY_DIAGNOSTICS_LAUNCHER_MANIFEST: |
| 107 case IDR_CONNECTIVITY_DIAGNOSTICS_MANIFEST: | 108 case IDR_CONNECTIVITY_DIAGNOSTICS_MANIFEST: |
| (...skipping 19 matching lines...) Expand all Loading... |
| 127 } | 128 } |
| 128 | 129 |
| 129 LOG(ERROR) << "Component extension with manifest resource id " | 130 LOG(ERROR) << "Component extension with manifest resource id " |
| 130 << manifest_resource_id << " not in whitelist and is not being " | 131 << manifest_resource_id << " not in whitelist and is not being " |
| 131 << "loaded as a result."; | 132 << "loaded as a result."; |
| 132 NOTREACHED(); | 133 NOTREACHED(); |
| 133 return false; | 134 return false; |
| 134 } | 135 } |
| 135 | 136 |
| 136 } // namespace extensions | 137 } // namespace extensions |
| OLD | NEW |