| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 case IDR_GOOGLE_NOW_MANIFEST: | 86 case IDR_GOOGLE_NOW_MANIFEST: |
| 87 #endif | 87 #endif |
| 88 #if BUILDFLAG(ENABLE_HANGOUT_SERVICES_EXTENSION) | 88 #if BUILDFLAG(ENABLE_HANGOUT_SERVICES_EXTENSION) |
| 89 case IDR_HANGOUT_SERVICES_MANIFEST: | 89 case IDR_HANGOUT_SERVICES_MANIFEST: |
| 90 #endif | 90 #endif |
| 91 #if defined(ENABLE_HOTWORDING) | 91 #if defined(ENABLE_HOTWORDING) |
| 92 case IDR_HOTWORD_AUDIO_VERIFICATION_MANIFEST: | 92 case IDR_HOTWORD_AUDIO_VERIFICATION_MANIFEST: |
| 93 case IDR_HOTWORD_MANIFEST: | 93 case IDR_HOTWORD_MANIFEST: |
| 94 #endif | 94 #endif |
| 95 case IDR_IDENTITY_API_SCOPE_APPROVAL_MANIFEST: | 95 case IDR_IDENTITY_API_SCOPE_APPROVAL_MANIFEST: |
| 96 #if defined(IMAGE_LOADER_EXTENSION) | 96 #if defined(OS_CHROMEOS) |
| 97 case IDR_IMAGE_LOADER_MANIFEST: | 97 case IDR_IMAGE_LOADER_MANIFEST: |
| 98 #endif | 98 #endif |
| 99 case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST: | 99 case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST: |
| 100 case IDR_WEBSTORE_MANIFEST: | 100 case IDR_WEBSTORE_MANIFEST: |
| 101 | 101 |
| 102 #if defined(OS_CHROMEOS) | 102 #if defined(OS_CHROMEOS) |
| 103 // Separate ChromeOS list, as it is quite large. | 103 // Separate ChromeOS list, as it is quite large. |
| 104 case IDR_ARC_SUPPORT_MANIFEST: | 104 case IDR_ARC_SUPPORT_MANIFEST: |
| 105 case IDR_AUDIO_PLAYER_MANIFEST: | 105 case IDR_AUDIO_PLAYER_MANIFEST: |
| 106 case IDR_CHROME_APPS_WEBSTORE_WIDGET_MANIFEST: | 106 case IDR_CHROME_APPS_WEBSTORE_WIDGET_MANIFEST: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 128 } | 128 } |
| 129 | 129 |
| 130 LOG(ERROR) << "Component extension with manifest resource id " | 130 LOG(ERROR) << "Component extension with manifest resource id " |
| 131 << manifest_resource_id << " not in whitelist and is not being " | 131 << manifest_resource_id << " not in whitelist and is not being " |
| 132 << "loaded as a result."; | 132 << "loaded as a result."; |
| 133 NOTREACHED(); | 133 NOTREACHED(); |
| 134 return false; | 134 return false; |
| 135 } | 135 } |
| 136 | 136 |
| 137 } // namespace extensions | 137 } // namespace extensions |
| OLD | NEW |