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

Side by Side Diff: chrome/common/extensions/extension_constants.cc

Issue 8890041: Update the mainfest_version error message to be more instructive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 "Invalid value for 'app.launch.local_path'."; 269 "Invalid value for 'app.launch.local_path'.";
270 const char kInvalidLaunchWebURL[] = 270 const char kInvalidLaunchWebURL[] =
271 "Invalid value for 'app.launch.web_url'."; 271 "Invalid value for 'app.launch.web_url'.";
272 const char kInvalidLaunchWidth[] = 272 const char kInvalidLaunchWidth[] =
273 "Invalid value for 'app.launch.width'."; 273 "Invalid value for 'app.launch.width'.";
274 const char kInvalidLaunchWidthContainer[] = 274 const char kInvalidLaunchWidthContainer[] =
275 "Invalid container type for 'app.launch.width'."; 275 "Invalid container type for 'app.launch.width'.";
276 const char kInvalidManifest[] = 276 const char kInvalidManifest[] =
277 "Manifest file is invalid."; 277 "Manifest file is invalid.";
278 const char kInvalidManifestVersion[] = 278 const char kInvalidManifestVersion[] =
279 "Invalid value for 'manifest_version'."; 279 "The 'manifest_version' key must be present and set to 2 (without quotes).";
280 const char kInvalidMatch[] = 280 const char kInvalidMatch[] =
281 "Invalid value for 'content_scripts[*].matches[*]': *"; 281 "Invalid value for 'content_scripts[*].matches[*]': *";
282 const char kInvalidMatchCount[] = 282 const char kInvalidMatchCount[] =
283 "Invalid value for 'content_scripts[*].matches'. There must be at least " 283 "Invalid value for 'content_scripts[*].matches'. There must be at least "
284 "one match specified."; 284 "one match specified.";
285 const char kInvalidMatches[] = 285 const char kInvalidMatches[] =
286 "Required value 'content_scripts[*].matches' is missing or invalid."; 286 "Required value 'content_scripts[*].matches' is missing or invalid.";
287 const char kInvalidMinimumChromeVersion[] = 287 const char kInvalidMinimumChromeVersion[] =
288 "Invalid value for 'minimum_chrome_version'."; 288 "Invalid value for 'minimum_chrome_version'.";
289 const char kInvalidName[] = 289 const char kInvalidName[] =
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng"; 487 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng";
488 const char kAppsPromoHistogram[] = "Extensions.AppsPromo"; 488 const char kAppsPromoHistogram[] = "Extensions.AppsPromo";
489 const char kAppLaunchHistogram[] = "Extensions.AppLaunch"; 489 const char kAppLaunchHistogram[] = "Extensions.AppLaunch";
490 #if defined(OS_CHROMEOS) 490 #if defined(OS_CHROMEOS)
491 const char kAccessExtensionPath[] = 491 const char kAccessExtensionPath[] =
492 "/usr/share/chromeos-assets/accessibility/extensions"; 492 "/usr/share/chromeos-assets/accessibility/extensions";
493 const char kChromeVoxDirectoryName[] = "access_chromevox"; 493 const char kChromeVoxDirectoryName[] = "access_chromevox";
494 #endif 494 #endif
495 495
496 } 496 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698