Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: extensions/common/manifest_constants.h

Issue 945743003: Improve error message for failing code insertion on about:-URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ 5 #ifndef EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_
6 #define EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ 6 #define EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_
7 7
8 namespace extensions { 8 namespace extensions {
9 9
10 // Keys used in JSON representation of extensions. 10 // Keys used in JSON representation of extensions.
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } // namespace manifest_values 235 } // namespace manifest_values
236 236
237 // Error messages returned from extension installation. 237 // Error messages returned from extension installation.
238 namespace manifest_errors { 238 namespace manifest_errors {
239 239
240 extern const char kActiveTabPermissionNotGranted[]; 240 extern const char kActiveTabPermissionNotGranted[];
241 extern const char kAllURLOrActiveTabNeeded[]; 241 extern const char kAllURLOrActiveTabNeeded[];
242 extern const char kAppsNotEnabled[]; 242 extern const char kAppsNotEnabled[];
243 extern const char kBackgroundPermissionNeeded[]; 243 extern const char kBackgroundPermissionNeeded[];
244 extern const char kBackgroundRequiredForPlatformApps[]; 244 extern const char kBackgroundRequiredForPlatformApps[];
245 extern const char kCannotAccessAboutUrl[];
245 extern const char kCannotAccessChromeUrl[]; 246 extern const char kCannotAccessChromeUrl[];
246 extern const char kCannotAccessExtensionUrl[]; 247 extern const char kCannotAccessExtensionUrl[];
247 extern const char kCannotAccessPage[]; 248 extern const char kCannotAccessPage[];
248 extern const char kCannotChangeExtensionID[]; 249 extern const char kCannotChangeExtensionID[];
249 extern const char kCannotClaimAllHostsInExtent[]; 250 extern const char kCannotClaimAllHostsInExtent[];
250 extern const char kCannotClaimAllURLsInExtent[]; 251 extern const char kCannotClaimAllURLsInExtent[];
251 extern const char kCannotScriptGallery[]; 252 extern const char kCannotScriptGallery[];
252 extern const char kCannotScriptSigninPage[]; 253 extern const char kCannotScriptSigninPage[];
253 extern const char kCannotUninstallManagedExtension[]; 254 extern const char kCannotUninstallManagedExtension[];
254 extern const char kChromeVersionTooLow[]; 255 extern const char kChromeVersionTooLow[];
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 extern const char kWebRequestConflictsWithLazyBackground[]; 469 extern const char kWebRequestConflictsWithLazyBackground[];
469 #if defined(OS_CHROMEOS) 470 #if defined(OS_CHROMEOS)
470 extern const char kIllegalPlugins[]; 471 extern const char kIllegalPlugins[];
471 #endif 472 #endif
472 473
473 } // namespace manifest_errors 474 } // namespace manifest_errors
474 475
475 } // namespace extensions 476 } // namespace extensions
476 477
477 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ 478 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | extensions/common/manifest_constants.cc » ('j') | extensions/common/manifest_constants.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698