summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_test_util.h
Commit message (Collapse)AuthorAgeFilesLines
* Create extensions_test_support build targetjamescook@chromium.org2014-01-071-15/+2
| | | | | | | | | | | | | | | | | | | * Create extensions/common/test_util.h for shared test code * Consolidate duplicated CreateExtensionWithID() functions * Create extensions_test_support build target because you can't have multiple files named test_util.h in a single build target on MSVS, all the other names are taken (test_utils.h, extension_test_util.h, etc.), and this gets us a step closer to having an extensions-only test suite. * Fix some missing dependencies for the extensions_common target * Remove unnecessary includes that create a dependency on themes BUG=none TEST=compiles, unit_tests TBR=thakis@chromium.org for mechanical changes to chrome/browser/ui/cocoa/extensions/ Review URL: https://codereview.chromium.org/110463003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243382 0039d316-1c4b-4281-b951-d872f2087c98
* Moved extension and value builder code to extensions component.benwells@chromium.org2013-11-051-1/+1
| | | | | | | | | | | | This is only used by tests but it has no chrome dependencies, and test in extensions use it, so it should move down to. TBR=sky@chromium.org BUG=162530 Review URL: https://codereview.chromium.org/48643003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233119 0039d316-1c4b-4281-b951-d872f2087c98
* Move Feature and Manifest to top-level extensions.yoz@chromium.org2013-08-221-1/+1
| | | | | | | | BUG=162530 Review URL: https://chromiumcodereview.appspot.com/23257005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219075 0039d316-1c4b-4281-b951-d872f2087c98
* Use extension API features instead of kNonPermissionModulesNames.mpcomplete@chromium.org2013-08-021-1/+12
| | | | | | | | | | | | | | | | This migrates the constants in permission_set.cc to _api_features.json. This includes a slight behavior change. Some modules with manifest keys, like browserAction, omnibox, and commands, used to be accessible even without the manifest key present. After this patch, they will be inaccessible. I don't think that should be an issue in practice, because the modules wouldn't do anything if there was no manifest key present. BUG=234790,265006 Review URL: https://chromiumcodereview.appspot.com/20818004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215161 0039d316-1c4b-4281-b951-d872f2087c98
* Add os/arch/nacl_arch to webstore install codeasargent@chromium.org2013-05-041-3/+0
| | | | | | | | | | | We already had it for update checks, but need it for the initial install requests as well. BUG=235233 Review URL: https://chromiumcodereview.appspot.com/14935002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198294 0039d316-1c4b-4281-b951-d872f2087c98
* Almost all actions in Declarative Web Request require all_urls host permissionsvabr@chromium.org2013-04-271-0/+35
| | | | | | | | | | | | | | The whitelisted actions are: * ignoring a rule * cancelling a request * redirecting to a blank image or an empty document + SendMessageToExtension only checks the request's URL against the host permissions (does not require full permissions). BUG=145456 Review URL: https://chromiumcodereview.appspot.com/14358004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196959 0039d316-1c4b-4281-b951-d872f2087c98
* CPM Extension Uninstall Watchingrdevlin.cronin@chromium.org2012-07-171-1/+10
| | | | | | | | | | | | | Add in watching for extension uninstall events. This also changes NOTIFICATION_EXTENSION_UNINSTALL to have the Extension as details. BUG=130212 TEST=Included browsertest; existing tests to test for regression on the notification change. Review URL: https://chromiumcodereview.appspot.com/10694056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147025 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
* Persist App Notifications to diskasargent@chromium.org2011-10-051-0/+18
BUG=98138 TEST=Install a packaged app with the experimental permission, and have it call chrome.experimental.app.notify({title:"foo", bodyText:"bar"}) from one of its pages. That should make a notification appear on its icon on the NTP. After restarting chrome, that same notification should still be there. Review URL: http://codereview.chromium.org/8038040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104066 0039d316-1c4b-4281-b951-d872f2087c98