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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 #endif | 77 #endif |
78 #if defined(ENABLE_PRINTING) | 78 #if defined(ENABLE_PRINTING) |
79 case IDR_CLOUDPRINT_MANIFEST: | 79 case IDR_CLOUDPRINT_MANIFEST: |
80 #endif | 80 #endif |
81 case IDR_CRYPTOTOKEN_MANIFEST: | 81 case IDR_CRYPTOTOKEN_MANIFEST: |
82 case IDR_FEEDBACK_MANIFEST: | 82 case IDR_FEEDBACK_MANIFEST: |
83 case IDR_GAIA_AUTH_MANIFEST: | 83 case IDR_GAIA_AUTH_MANIFEST: |
84 #if defined(ENABLE_GOOGLE_NOW) | 84 #if defined(ENABLE_GOOGLE_NOW) |
85 case IDR_GOOGLE_NOW_MANIFEST: | 85 case IDR_GOOGLE_NOW_MANIFEST: |
86 #endif | 86 #endif |
87 #if defined(GOOGLE_CHROME_BUILD) || BUILDFLAG(ENABLE_HANGOUT_SERVICES_EXTENSION) | 87 #if BUILDFLAG(ENABLE_HANGOUT_SERVICES_EXTENSION) |
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 |
(...skipping 29 matching lines...) Expand all Loading... |
127 } | 127 } |
128 | 128 |
129 LOG(ERROR) << "Component extension with manifest resource id " | 129 LOG(ERROR) << "Component extension with manifest resource id " |
130 << manifest_resource_id << " not in whitelist and is not being " | 130 << manifest_resource_id << " not in whitelist and is not being " |
131 << "loaded as a result."; | 131 << "loaded as a result."; |
132 NOTREACHED(); | 132 NOTREACHED(); |
133 return false; | 133 return false; |
134 } | 134 } |
135 | 135 |
136 } // namespace extensions | 136 } // namespace extensions |
OLD | NEW |