Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "extensions/common/manifest_constants.h" | 6 #include "extensions/common/manifest_constants.h" |
| 7 | 7 |
| 8 namespace extensions { | 8 namespace extensions { |
| 9 | 9 |
| 10 namespace manifest_keys { | 10 namespace manifest_keys { |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 280 "Cannot access contents of url \"*\". " | 280 "Cannot access contents of url \"*\". " |
| 281 "Extension manifest must request permission to access this host."; | 281 "Extension manifest must request permission to access this host."; |
| 282 const char kCannotChangeExtensionID[] = | 282 const char kCannotChangeExtensionID[] = |
| 283 "Installed extensions cannot change their IDs."; | 283 "Installed extensions cannot change their IDs."; |
| 284 const char kCannotClaimAllHostsInExtent[] = | 284 const char kCannotClaimAllHostsInExtent[] = |
| 285 "Cannot claim all hosts ('*') in an extent."; | 285 "Cannot claim all hosts ('*') in an extent."; |
| 286 const char kCannotClaimAllURLsInExtent[] = | 286 const char kCannotClaimAllURLsInExtent[] = |
| 287 "Cannot claim all URLs in an extent."; | 287 "Cannot claim all URLs in an extent."; |
| 288 const char kCannotScriptGallery[] = | 288 const char kCannotScriptGallery[] = |
| 289 "The extensions gallery cannot be scripted."; | 289 "The extensions gallery cannot be scripted."; |
| 290 const char kCannotScriptPageByPolicy[] = | |
| 291 "This page cannot be scripted due to an ExtensionsSettings policy."; | |
|
asargent_no_longer_on_chrome
2016/11/23 01:19:23
In theory, this file should have constants for key
Devlin
2016/11/23 17:22:56
Typically, we just put the errors in the files whe
nrpeter
2017/01/02 19:57:45
Done.
| |
| 290 const char kCannotScriptSigninPage[] = | 292 const char kCannotScriptSigninPage[] = |
| 291 "The sign-in page cannot be scripted."; | 293 "The sign-in page cannot be scripted."; |
| 292 const char kChromeVersionTooLow[] = | 294 const char kChromeVersionTooLow[] = |
| 293 "This extension requires * version * or greater."; | 295 "This extension requires * version * or greater."; |
| 294 const char kDisabledByPolicy[] = | 296 const char kDisabledByPolicy[] = |
| 295 "This extension has been disabled by your administrator."; | 297 "This extension has been disabled by your administrator."; |
| 296 const char kExpectString[] = "Expect string value."; | 298 const char kExpectString[] = "Expect string value."; |
| 297 const char kFileNotFound[] = "File not found: *."; | 299 const char kFileNotFound[] = "File not found: *."; |
| 298 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; | 300 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; |
| 299 const char kInvalidAboutPageExpectRelativePath[] = | 301 const char kInvalidAboutPageExpectRelativePath[] = |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 740 "'file_system_provider_capabilities' section to be specified in the " | 742 "'file_system_provider_capabilities' section to be specified in the " |
| 741 "manifest."; | 743 "manifest."; |
| 742 const char kInvalidFileSystemProviderMissingPermission[] = | 744 const char kInvalidFileSystemProviderMissingPermission[] = |
| 743 "The 'file_system_provider_capabilities' section requires the " | 745 "The 'file_system_provider_capabilities' section requires the " |
| 744 "'fileSystemProvider' permission to be specified in the manifest."; | 746 "'fileSystemProvider' permission to be specified in the manifest."; |
| 745 #endif | 747 #endif |
| 746 | 748 |
| 747 } // namespace manifest_errors | 749 } // namespace manifest_errors |
| 748 | 750 |
| 749 } // namespace extensions | 751 } // namespace extensions |
| OLD | NEW |