| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 case IDR_CONNECTIVITY_DIAGNOSTICS_LAUNCHER_MANIFEST: | 105 case IDR_CONNECTIVITY_DIAGNOSTICS_LAUNCHER_MANIFEST: |
| 106 case IDR_CONNECTIVITY_DIAGNOSTICS_MANIFEST: | 106 case IDR_CONNECTIVITY_DIAGNOSTICS_MANIFEST: |
| 107 case IDR_CROSH_BUILTIN_MANIFEST: | 107 case IDR_CROSH_BUILTIN_MANIFEST: |
| 108 case IDR_DEMO_APP_MANIFEST: | 108 case IDR_DEMO_APP_MANIFEST: |
| 109 case IDR_EASY_UNLOCK_MANIFEST: | 109 case IDR_EASY_UNLOCK_MANIFEST: |
| 110 case IDR_EASY_UNLOCK_MANIFEST_SIGNIN: | 110 case IDR_EASY_UNLOCK_MANIFEST_SIGNIN: |
| 111 case IDR_ECHO_MANIFEST: | 111 case IDR_ECHO_MANIFEST: |
| 112 case IDR_FILEMANAGER_MANIFEST: | 112 case IDR_FILEMANAGER_MANIFEST: |
| 113 case IDR_FIRST_RUN_DIALOG_MANIFEST: | 113 case IDR_FIRST_RUN_DIALOG_MANIFEST: |
| 114 case IDR_GALLERY_MANIFEST: | 114 case IDR_GALLERY_MANIFEST: |
| 115 case IDR_ZIP_ARCHIVER_MANIFEST: |
| 115 case IDR_KEYBOARD_MANIFEST: | 116 case IDR_KEYBOARD_MANIFEST: |
| 116 case IDR_MOBILE_MANIFEST: | 117 case IDR_MOBILE_MANIFEST: |
| 117 case IDR_VIDEO_PLAYER_MANIFEST: | 118 case IDR_VIDEO_PLAYER_MANIFEST: |
| 118 case IDR_WALLPAPERMANAGER_MANIFEST: | 119 case IDR_WALLPAPERMANAGER_MANIFEST: |
| 119 #if defined(GOOGLE_CHROME_BUILD) | 120 #if defined(GOOGLE_CHROME_BUILD) |
| 120 case IDR_GENIUS_APP_MANIFEST: | 121 case IDR_GENIUS_APP_MANIFEST: |
| 121 case IDR_HELP_MANIFEST: | 122 case IDR_HELP_MANIFEST: |
| 122 case IDR_QUICKOFFICE_MANIFEST: | 123 case IDR_QUICKOFFICE_MANIFEST: |
| 123 #endif // defined(GOOGLE_CHROME_BUILD) | 124 #endif // defined(GOOGLE_CHROME_BUILD) |
| 124 #endif // defined(OS_CHROMEOS) | 125 #endif // defined(OS_CHROMEOS) |
| 125 return true; | 126 return true; |
| 126 } | 127 } |
| 127 | 128 |
| 128 LOG(ERROR) << "Component extension with manifest resource id " | 129 LOG(ERROR) << "Component extension with manifest resource id " |
| 129 << manifest_resource_id << " not in whitelist and is not being " | 130 << manifest_resource_id << " not in whitelist and is not being " |
| 130 << "loaded as a result."; | 131 << "loaded as a result."; |
| 131 NOTREACHED(); | 132 NOTREACHED(); |
| 132 return false; | 133 return false; |
| 133 } | 134 } |
| 134 | 135 |
| 135 } // namespace extensions | 136 } // namespace extensions |
| OLD | NEW |