| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_constants.h" | 5 #include "chrome/common/extensions/extension_constants.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 // cross-platform. | 137 // cross-platform. |
| 138 namespace extension_manifest_errors { | 138 namespace extension_manifest_errors { |
| 139 const char* kAppsNotEnabled = | 139 const char* kAppsNotEnabled = |
| 140 "Apps are not enabled."; | 140 "Apps are not enabled."; |
| 141 const char* kBackgroundPermissionNeeded = | 141 const char* kBackgroundPermissionNeeded = |
| 142 "Hosted apps that use 'background_page' must have the 'background' " | 142 "Hosted apps that use 'background_page' must have the 'background' " |
| 143 "permission."; | 143 "permission."; |
| 144 const char* kCannotAccessPage = | 144 const char* kCannotAccessPage = |
| 145 "Cannot access contents of url \"*\". " | 145 "Cannot access contents of url \"*\". " |
| 146 "Extension manifest must request permission to access this host."; | 146 "Extension manifest must request permission to access this host."; |
| 147 const char* kCannotChangeExtensionID = |
| 148 "Installed extensions cannot change their IDs."; |
| 147 const char* kCannotClaimAllHostsInExtent = | 149 const char* kCannotClaimAllHostsInExtent = |
| 148 "Cannot claim all hosts ('*') in an extent."; | 150 "Cannot claim all hosts ('*') in an extent."; |
| 149 const char* kCannotClaimAllURLsInExtent = | 151 const char* kCannotClaimAllURLsInExtent = |
| 150 "Cannot claim all URLs in an extent."; | 152 "Cannot claim all URLs in an extent."; |
| 151 const char* kCannotScriptGallery = | 153 const char* kCannotScriptGallery = |
| 152 "The extensions gallery cannot be scripted."; | 154 "The extensions gallery cannot be scripted."; |
| 153 const char* kCannotUninstallManagedExtension = | 155 const char* kCannotUninstallManagedExtension = |
| 154 "Attempted uninstallation of an extension that is not user-manageable."; | 156 "Attempted uninstallation of an extension that is not user-manageable."; |
| 155 const char* kChromeVersionTooLow = | 157 const char* kChromeVersionTooLow = |
| 156 "This extension requires * version * or greater."; | 158 "This extension requires * version * or greater."; |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; | 500 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; |
| 499 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; | 501 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; |
| 500 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; | 502 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; |
| 501 #if defined(OS_CHROMEOS) | 503 #if defined(OS_CHROMEOS) |
| 502 const char* kAccessExtensionPath = | 504 const char* kAccessExtensionPath = |
| 503 "/usr/share/chromeos-assets/accessibility/extensions"; | 505 "/usr/share/chromeos-assets/accessibility/extensions"; |
| 504 const char* kChromeVoxDirectoryName = "access_chromevox"; | 506 const char* kChromeVoxDirectoryName = "access_chromevox"; |
| 505 #endif | 507 #endif |
| 506 | 508 |
| 507 } | 509 } |
| OLD | NEW |