summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_registry_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove InstallTracker's extension load, unload observer.limasdf@gmail.com2014-06-061-2/+6
| | | | | | | | | | | Since ExtensionRegistry provide canonical way, use ExtensionRegistry instead. BUG=374353 TEST=unit_tests Review URL: https://codereview.chromium.org/298023009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275434 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize promotion of ephemeral appstmdiep@chromium.org2014-05-281-2/+4
| | | | | | | | | | | | | | | Introduces ExtensionService::PromoteEphemeralApp(), which allows an ephemeral app to be quickly promoted to a regular installed app. This is called when installing from the app launcher, Web Store detail page, "Install app" item in the ephemeral app's shelf menu, or from sync. BUG=374018 TEST=browser_tests (EphemeralAppBrowserTest.*) Review URL: https://codereview.chromium.org/297263003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273206 0039d316-1c4b-4281-b951-d872f2087c98
* Add TriggerOnUninstalled to ExtensionRegistry.limasdf@gmail.com2014-05-241-0/+12
| | | | | | | | | | | | And change ExtensionToolbarModel to use it instead of NOTIFICATION_EXTENSION_UNINSTALLED. R=kalman@chromium.org BUG=354459 TEST=unit_test Review URL: https://codereview.chromium.org/289073008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272649 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function triggering extension installed to ExtensionRegistryObserver.limasdf@gmail.com2014-05-221-0/+18
| | | | | | | | | | | | | | This can be replace chrome::NOTIFICATION_EXTENSION_INSTALLED with ExtensionRegistryObserver. And apply it to WebStoreInstaller and InstallTracker. R=kalman@chromium.org BUG=354459 TEST=unit_test, manual(install app from webstore) Review URL: https://codereview.chromium.org/279073003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272143 0039d316-1c4b-4281-b951-d872f2087c98
* Pass Reason as a parameter with OnExtensionUnloaded.DHNishi@gmail.com2014-04-181-2/+4
| | | | | | | | BUG=354046 Review URL: https://codereview.chromium.org/222903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264837 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove NOTIFICATION_EXTENSION_UNLOADED usage in MediaScanManager.thestig@chromium.org2014-04-081-7/+9
| | | | | | | | BUG=354046 Review URL: https://codereview.chromium.org/207613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262295 0039d316-1c4b-4281-b951-d872f2087c98
* Add OnLoaded to ExtensionRegistryObserver. Change GalleryWatchStateTrackerkalman@chromium.org2014-03-261-0/+67
| | | | | | | | | | | to use it rather than notifications to prove it works. BUG=354367 R=jamescook@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/206413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259708 0039d316-1c4b-4281-b951-d872f2087c98
* Move ExtensionService::GetExtensionById() to ExtensionRegistryjamescook@chromium.org2014-01-071-0/+79
| | | | | | | | | | | | | This will allow app_shell to use it without an ExtensionService BUG=none TEST=added unit_tests ExtensionRegistryTest.GetExtensionById R=yoz@chromium.org TBR=pkotwicz@chromium.org for chrome/browser/themes Review URL: https://codereview.chromium.org/125573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243423 0039d316-1c4b-4281-b951-d872f2087c98
* Create extensions_test_support build targetjamescook@chromium.org2014-01-071-19/+7
| | | | | | | | | | | | | | | | | | | * 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
* Extract an ExtensionRegistry from ExtensionServicejamescook@chromium.org2013-12-211-0/+102
This new class holds the various sets of enabled/disabled/terminated/etc. extensions. It lives in src/extensions/browser so it can be used by app_shell. This CL renames some members and methods to clarify which set of extensions is the enabled set and also renames some methods that are only used in test code. BUG=none TEST=unit_tests ExtensionRegistryTest and ExtensionServiceTest Review URL: https://codereview.chromium.org/111873008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242248 0039d316-1c4b-4281-b951-d872f2087c98