summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/manifest.h
Commit message (Collapse)AuthorAgeFilesLines
* Move Extension Location and Type enums to Manifest, and move InstallWarning ↵yoz@chromium.org2013-01-311-12/+74
| | | | | | | | | | | | | | | to its own file. Reverses the dependency between Extension and Manifest. Part 1 of moving Manifest to top-level extensions. BUG=162530 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/12093036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179828 0039d316-1c4b-4281-b951-d872f2087c98
* Change ManifestHandler interface to always (implicitly) pass the entire ↵yoz@chromium.org2013-01-301-0/+4
| | | | | | | | | | | | | | manifest to handlers. This makes it possible to support multi-key handlers using the same interface. Fixes a bug with default behavior for manifest handlers; previously, HasNoKey would be called even for inappropriate extension types. BUG=159265 Review URL: https://chromiumcodereview.appspot.com/12084034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179470 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 11428116 had to be reverted as it broke build due to a unused variable.grv@chromium.org2012-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This CL is the copy of the issue, fixing the problem. First few API implementation of AppsDebuggerPrivate. This CL adds the skeleton for AppsDebuggerPrivate APIs with Implementation of getItemInfo, Inspect and AutoUpdate. Will be adding apitest to the CL. BUG=149036 TBR=estrade@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11428116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173612 0039d316-1c4b-4281-b951-d872f2087c98 Review URL: https://chromiumcodereview.appspot.com/11620011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173811 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 173612dpapad@chromium.org2012-12-181-1/+0
| | | | | | | | | | | | | | | | | | | | > First few API implementation of AppsDebuggerPrivate. > > This CL adds the skeleton for AppsDebuggerPrivate APIs with > Implementation of getItemInfo, Inspect and AutoUpdate. > > Will be adding apitest to the CL. > > BUG=149036 > TBR=estrade@chromium.org > TBR=sky@chromium.org > > Review URL: https://chromiumcodereview.appspot.com/11428116 TBR=grv@chromium.org Review URL: https://codereview.chromium.org/11614021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173622 0039d316-1c4b-4281-b951-d872f2087c98
* First few API implementation of AppsDebuggerPrivate.grv@chromium.org2012-12-181-0/+1
| | | | | | | | | | | | | | | This CL adds the skeleton for AppsDebuggerPrivate APIs with Implementation of getItemInfo, Inspect and AutoUpdate. Will be adding apitest to the CL. BUG=149036 TBR=estrade@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11428116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173612 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PACKAGED_APP references to LEGACY_PACKAGED_APPgrv@chromium.org2012-09-281-1/+3
| | | | | | | | | BUG=151656 Review URL: https://chromiumcodereview.appspot.com/10909239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159211 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* This adds third party Drive app support to ChromeOS.gspencer@chromium.org2012-06-251-1/+1
| | | | | | | | | | | | | | | | | Drive can have third party web applications associated with documents, and we want to support that on ChromeOS. This adds a task generator and task executor implementation that can handle drive apps. It maps the application suffixes to the given app, and tells the UI what name to display for them. TBR=zelidrag@chromium.org BUG=chromium:126895 TEST=Ran on device, ran new unit tests. Review URL: https://chromiumcodereview.appspot.com/10577029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143852 0039d316-1c4b-4281-b951-d872f2087c98
* From the 'no free lunch' department: Add a warning when developing an ↵aa@chromium.org2012-06-131-1/+1
| | | | | | | | | | | | | | extension that uses old manifest version. Screen shot: http://imgur.com/dAHVo BUG=131962 TBR=estade@chromium.org TEST=Load any extension that uses manifest_version < 2. Should see warning message in chrome://extensions/. Review URL: https://chromiumcodereview.appspot.com/10536084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141803 0039d316-1c4b-4281-b951-d872f2087c98
* Change the platform app manifest structure.mihaip@chromium.org2012-06-081-0/+1
| | | | | | | | | | | | | | | Instead of an explicit "platform_app": true manifest keys, platform apps are now defined by the presence of the "background" section inside "app" (since platform apps require background pages). The top-level "background" section is not supported for platform apps. R=miket@chromium.org BUG=131394 Review URL: https://chromiumcodereview.appspot.com/10544059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141177 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce manifest_version 2 for platform apps.mihaip@chromium.org2012-05-021-18/+13
| | | | | | | | | | | | | | | | | | r134596 changed that check to a warning, but we don't want platform apps with manifest_version 1 to load at all. Also switches disallowing of app.launch for platform apps to be implemented via _manifest_features.json, now that subkeys are supported. Also removes some features from platform apps, since they're only applicable to extensions and packaged apps. R=mpcomplete@chromium.org Review URL: http://codereview.chromium.org/10265021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134994 0039d316-1c4b-4281-b951-d872f2087c98
* Allow features to refer to subkeys in _manifest_features.json.mpcomplete@chromium.org2012-04-301-1/+1
| | | | | | | | | | | | | Manifest restriction violations are now warnings instead of fatal errors. Add background.persistent subkey and restrict it to dev mode. BUG=122459 TEST=no Review URL: https://chromiumcodereview.appspot.com/10217017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134596 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 125247: Better error messages when using unsupported manifest features.aa@chromium.org2012-03-121-1/+1
| | | | | | | | | | | This reverts commit fe7a83483ab3d6b7c3e0db1f3252474cbe350f81. BUG=112620 TBR=mpcomplete@chromium.org Review URL: https://chromiumcodereview.appspot.com/9664053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126101 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 125979 - Re-land 125247: Better error messages when using unsupported ↵aa@chromium.org2012-03-101-1/+1
| | | | | | | | | | | | | manifest features. BUG=112620 Review URL: https://chromiumcodereview.appspot.com/9616052 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/9665034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125982 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 125247: Better error messages when using unsupported manifest features.aa@chromium.org2012-03-101-1/+1
| | | | | | | | BUG=112620 Review URL: https://chromiumcodereview.appspot.com/9616052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125979 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 125247 - Better error messages when using unsupported manifest features.aa@chromium.org2012-03-061-1/+1
| | | | | | | | | | | BUG=112620 Review URL: https://chromiumcodereview.appspot.com/9609007 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/9615036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125249 0039d316-1c4b-4281-b951-d872f2087c98
* Better error messages when using unsupported manifest features.aa@chromium.org2012-03-061-1/+1
| | | | | | | | BUG=112620 Review URL: https://chromiumcodereview.appspot.com/9609007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125247 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ManifestFeatureProvider.kalman@chromium.org2012-02-241-40/+32
| | | | | | | | | | | | | | | | | Re-impement manifest feature requirements using a more general framework that we will also use for permissions and APIs in the future. Original patch from aa@chromium.org, review URL http://codereview.chromium.org/9415004/ TBR=aa@chromium.org,jstritar@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/9425056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123434 0039d316-1c4b-4281-b951-d872f2087c98
* Updating extensions code to use UTF16RDevlin.Cronin@gmail.com2011-12-171-1/+1
| | | | | | | | | | | Changes std::string error to string16 in various locations of the Extensions file, spanning up the tree from ExtensionErrorReporter and Extension::InitFromValue, with conversion to string16 beginning at extension_l10n_util::LocalizeExtension and Extension::Create. Later patches can continue/expand the conversion. BUG=71980 TEST=Run existing unit tests and browser tests, which have been adjusted for string16s. Review URL: http://codereview.chromium.org/8890086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114917 0039d316-1c4b-4281-b951-d872f2087c98
* Reland restrict extension features based on the extension type.jstritar@chromium.org2011-12-041-0/+112
| | | | | | | | | | | The "chrome_url_overrides" manifest key is now accessible by packaged apps. BUG=101992, 104103 TEST=existing, ManifestTest Review URL: http://codereview.chromium.org/8654001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112914 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Restrict extension features based on the extension type."mpcomplete@chromium.org2011-12-021-112/+0
| | | | | | | | | | | | | | This breaks some ChromeOS tests. Among the log output: "Feature 'chrome_url_overrides' is not allowed in this type of manifest." Original review: http://codereview.chromium.org/8654001 BUG=101992, 104103, chromium-os:23709 TEST=no Review URL: http://codereview.chromium.org/8786004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112808 0039d316-1c4b-4281-b951-d872f2087c98
* Restrict extension features based on the extension type.jstritar@chromium.org2011-12-021-0/+112
BUG=101992, 104103 TEST=existing, ManifestTest Review URL: http://codereview.chromium.org/8654001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112764 0039d316-1c4b-4281-b951-d872f2087c98