summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_service.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Switch virtual keyboard layout when IME is switched.yusukes@google.com2011-06-171-0/+20
| | | | | | | | | | | | | | | | | | | | | * chrome/browser/extensions/extension_service.cc: Register virtual keyboard extension's URL and layout names to the IME library. * chrome/browser/ui/touch/frame/: Register a callback function which is called when IME is switched. The callback function sends a notification to the current virtual keyboard extension. * chrome/browser/resources/keyboard/main.js: Handles window.onhashchange event. This change depends on http://codereview.chromium.org/7096001/ . All-in-one CL for testing is also available at http://codereview.chromium.org/7074008/ . BUG=chromium-os:14241 TEST=ran browser_test Review URL: http://codereview.chromium.org/7042033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89433 0039d316-1c4b-4281-b951-d872f2087c98
* Add tests for chrome.tabs.captureVisibleTab working for file:/// URLs.mihaip@chromium.org2011-06-161-1/+42
| | | | | | | | | | | | | | | | | These tests were originally in http://codereview.chromium.org/6696090 (which never got landed). The actual behavior was fixed with r80213, but we didn't have a test case for bug 76816. Getting the tests to pass involved some ExtensionBrowserTest tweaks, since unpacked extensions default to always allowing file:/// access, but we want to disallow that for some tests. BUG=76816 TEST=no R=mpcomplete@chromium.org Review URL: http://codereview.chromium.org/7155012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89340 0039d316-1c4b-4281-b951-d872f2087c98
* Fix to make 'Enable accessibility features.' option change take effect ↵hashimoto@chromium.org2011-06-161-0/+38
| | | | | | | | | | | | | | immediately Add loading and unloading code to SystemOptionsHandler Add unregister_component_extension to ExtensionService BUG=chromium-os:11887 TEST=manually confirmed that enabling/disabling a11y features works immediately Review URL: http://codereview.chromium.org/7129015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89302 0039d316-1c4b-4281-b951-d872f2087c98
* Changes TemplateURLModel into TemplateURLService. Changes all access points ↵erg@google.com2011-06-071-5/+10
| | | | | | | | | | | | | | to go through the newly made ProfileKeyedServiceFactory subclass. In addition, makes further modifications to the unit testing stuff because the TemplateURL tests change the active TemplateURLService on a profile during the test. BUG=77155 TEST=unit tests R=mirandac Review URL: http://codereview.chromium.org/7056056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88153 0039d316-1c4b-4281-b951-d872f2087c98
* Unrevert: Show the install dialog for the initial load of an unpacked extensionmpcomplete@chromium.org2011-06-031-4/+67
| | | | | | | | | | | | with plugins. First landing broke some browser tests. BUG=83273 TEST=in the extensions managmenet page, with developer mode enabled, Load an unpacked extension on an extension with NPAPI plugins. You should get an install dialog. TBR=mihaip git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87738 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 87637 - Show the install dialog for the initial load of an unpacked ↵joi@chromium.org2011-06-021-66/+4
| | | | | | | | | | | | | | extension with plugins. BUG=83273 TEST=in the extensions managmenet page, with developer mode enabled, Load an unpacked extension on an extension with NPAPI plugins. You should get an install dialog. Review URL: http://codereview.chromium.org/7077018 TBR=mpcomplete@chromium.org Review URL: http://codereview.chromium.org/7109014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87655 0039d316-1c4b-4281-b951-d872f2087c98
* Show the install dialog for the initial load of an unpacked extension with ↵mpcomplete@chromium.org2011-06-021-4/+66
| | | | | | | | | | | plugins. BUG=83273 TEST=in the extensions managmenet page, with developer mode enabled, Load an unpacked extension on an extension with NPAPI plugins. You should get an install dialog. Review URL: http://codereview.chromium.org/7077018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87637 0039d316-1c4b-4281-b951-d872f2087c98
* Install CRX updates one at a time.skerner@chromium.org2011-06-011-4/+12
| | | | | | | | | | | When we raise the size limit on CRXes, it will become possible to have an extension that takes a long time and lots of CPU to unpack. To avoid starting many resource-intensive unpack jobs at once, update one extension at a time. BUG=80012 TEST=ExtensionUpdaterTest.TestMultipleExtensionDownloadingUpdates* Review URL: http://codereview.chromium.org/6965018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87401 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Change event routers from singletons to being owned by the ↵yoz@chromium.org2011-05-271-18/+17
| | | | | | | | | | | | | | | | ExtensionService." This breaks, among other things, multi-profile and the first run dialog. Reverting at least for M13. This reverts commit 45758c29485736d7164085e6b7f8bf0999df1c4f. BUG=81745 TEST=none Review URL: http://codereview.chromium.org/7084006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87083 0039d316-1c4b-4281-b951-d872f2087c98
* Missed one line in the manual revert of r85951elijahtaylor@google.com2011-05-271-2/+0
| | | | | | | | BUG=none TEST=manual (install nacl extension, restart browser) Review URL: http://codereview.chromium.org/7074015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87075 0039d316-1c4b-4281-b951-d872f2087c98
* Moving mediaplayer to the chrome filebrowser. Observable behaviour should ↵serya@google.com2011-05-271-0/+2
| | | | | | | | | | | not change. BUG=chromium-os:14880 TEST=Click "play" button on an audion file in the file browser. Check that the mediaplayer panel has popped up. Click on another file. Check that the mediaplayer playlist panel has popped up and contains 2 items. Review URL: http://codereview.chromium.org/7067020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87002 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for NaCl based extensions causing bad plugin module initialization (main ↵elijahtaylor@google.com2011-05-261-51/+39
| | | | | | | | | | | | thread was set incorrectly when initialized from the FILE thread) Also roll back r85951 which is not needed when no file access takes place during extension initialization. BUG=none TEST=none Review URL: http://codereview.chromium.org/7008016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86838 0039d316-1c4b-4281-b951-d872f2087c98
* Change event routers from singletons to being owned by the ExtensionService.yoz@chromium.org2011-05-261-17/+18
| | | | | | | | | | | | | ExtensionService is in turn owned by the Profile. Also stop pretending that each event router observes more than one profile. (To support multi-profile, each profile would have its own ExtensionService and routers.) BUG=81745 TEST=covered by existing tests Review URL: http://codereview.chromium.org/6961027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86750 0039d316-1c4b-4281-b951-d872f2087c98
* Add ExtensionContentSettingsStore and content_settings::ExtensionProvider.bauerb@chromium.org2011-05-201-0/+5
| | | | | | | | | | | ExtensionContentSettingsStore will eventually be used by the content settings extension API. BUG=71067 TEST=unit tests Review URL: http://codereview.chromium.org/6969062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86067 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ExtensionExtent to URLPatternSet and use URLPatternSet instead of ↵morrita@chromium.org2011-05-201-4/+4
| | | | | | | | | | | | | | | | | | std::vector<URLPattern> - Rename ExtensionExtent to URLPatternSet - Refactor common/extensions/user_script.h, common/extensions/user_script.cc, common/extensions/file_browser_handler.h and common/extensions/file_browser_handler.cc so that they use URLPatternSet instead of std::vector<URLPattern> - At many places rename std::vector<URLPattern> to URLPatternList, which is typedefed at common/extensions/url_pattern.h - Rename URLPatternSet::ClearPaths() to URLPatternSet::ClearPatterns() - Rename URLPatternSet::ContainsURL() to URLPatternSet::MatchesUrl() BUG=72955 TEST=ExtensionManifestTest.FileBrowserHandlers, ExtensionUserScriptTest.*, ExtensionURLPatternTest.* Review URL: http://codereview.chromium.org/7038029 Patch from Kentaro Hara <haraken@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86060 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir and scoped_native_library back from base/memory to base.thakis@chromium.org2011-05-191-1/+1
| | | | | | | | | | | It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Review URL: http://codereview.chromium.org/7048007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem where the ExtensionService caused File IO on the wrong thread ↵bbudge@google.com2011-05-191-29/+51
| | | | | | | | | | when updating the PluginList. BUG=none TEST=manual Review URL: http://codereview.chromium.org/7042023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85951 0039d316-1c4b-4281-b951-d872f2087c98
* Need to check whether an extension is loaded in extension service before ↵skerner@chromium.org2011-05-191-1/+13
| | | | | | | | | | | trying to uninstall it. BUG=80868 TEST=ExtensionServiceTest.UninstallingNotLoadedExtension Review URL: http://codereview.chromium.org/7037037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85944 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show suggestions in the Omnibox (from the Extension App provider) for ↵finnur@chromium.org2011-05-121-0/+9
| | | | | | | | | | packaged apps unless the app has Incognito enabled and split mode set to true. Hosted apps should always be able to load in incognito. BUG=81304 TEST=Install a packaged app from the web store and type its name into the Omnibox of an incognito window. Make sure it does not show up. Now go to chrome://extensions and check 'Allow in incognito' for this extension. Make sure it now shows up in the Omnibox as a suggestion. Review URL: http://codereview.chromium.org/7016005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85209 0039d316-1c4b-4281-b951-d872f2087c98
* Add IME UI related extension API.bryeung@chromium.org2011-05-091-0/+10
| | | | | | | | | | | Add IME UI related extension API. We will use it to show IME candidates in a chrome extension. BUG=none TEST=seaboard Review URL: http://codereview.chromium.org/6869024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84658 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms to understand why so many CRX installs fail in the field.skerner@chromium.org2011-05-091-1/+7
| | | | | | | | | | | | | | * Report path length to extensions dir. * Report cause and install source in histograms. * Add histogram to show why writing an update to a file might fail. * Don't create installer for crx that can't be read. BUG=81687 TEST=Manual: look at about:histogram Review URL: http://codereview.chromium.org/6932045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84617 0039d316-1c4b-4281-b951-d872f2087c98
* avoid dereferencing NULL extension in ExtensionHostdilmah@chromium.org2011-05-061-1/+1
| | | | | | | | | BUG=chromium-os:13739 TEST=None Review URL: http://codereview.chromium.org/6932038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84502 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fix DCHECK with GetSyncData and unloaded extensionsakalin@chromium.org2011-05-051-5/+3
| | | | | | | | | | | | Revert GetSyncData() to taking a const Extension& instead of an ID, as the service may not know about the extension via ID anymore. BUG=81470 TEST= Review URL: http://codereview.chromium.org/6931019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84165 0039d316-1c4b-4281-b951-d872f2087c98
* Allow loading icons for crashed/disabled extensions.sadrul@chromium.org2011-05-041-2/+10
| | | | | | | | | BUG=80056 TEST=Install an extension (e.g. forecastfox), kill the extension from the task manager. The balloon that pops up should show the forecastfox extension. Review URL: http://codereview.chromium.org/6912034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84140 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 84095 - Add IME UI related extension API.bryeung@chromium.org2011-05-041-10/+0
| | | | | | | | | | | | | | Add IME UI related extension API. We will use it to show IME candidates in a chrome extension. BUG=none TEST=seaboard Review URL: http://codereview.chromium.org/6869024 TBR=bryeung@chromium.org Review URL: http://codereview.chromium.org/6930018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84106 0039d316-1c4b-4281-b951-d872f2087c98
* Add IME UI related extension API.bryeung@chromium.org2011-05-041-0/+10
| | | | | | | | | | | Add IME UI related extension API. We will use it to show IME candidates in a chrome extension. BUG=none TEST=seaboard Review URL: http://codereview.chromium.org/6869024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84095 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate wstring from base/utf_offset_string_conversions.h, ↵pkasting@chromium.org2011-05-031-1/+1
| | | | | | | | | | net/base/escape.h, and net/base/net_util.h, and reduce the API surfaces in various places slightly where possible. BUG=23581 TEST=none Review URL: http://codereview.chromium.org/6898026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83948 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Handle terminated extensions in extension/app sync codeakalin@chromium.org2011-05-031-6/+2
| | | | | | | | | | | | Also cleaned up some dead code and obsolete comments. BUG=80726 TEST= Review URL: http://codereview.chromium.org/6909001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83877 0039d316-1c4b-4281-b951-d872f2087c98
* [Extensions] Add unit tests for terminated extensionsakalin@chromium.org2011-05-031-21/+24
| | | | | | | | | | | | | | | | | | Change enabled -> terminated state transition to be atomic. Added unit tests for various functions' behavior with terminated extensions. Fix incorrect use of extension_id parameter in UninstallExtension (by renaming the parameter to extension_id_unsafe and the copy to extension_id). Cleaned up unit tests a bit. BUG=80756,80752 TEST= Review URL: http://codereview.chromium.org/6889015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83868 0039d316-1c4b-4281-b951-d872f2087c98
* [Extensions] Remove enabled flag from PendingExtensionInfoakalin@chromium.org2011-04-291-12/+6
| | | | | | | | | | | | | Since sync sets the enabled flag before it adds the pending extension, there's no need to plumb this through anymore. BUG=72659 TEST= Review URL: http://codereview.chromium.org/6902134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83593 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add support for enabling/disabling an extension before it's installedakalin@chromium.org2011-04-291-34/+47
| | | | | | | | | | | | | | | | | Make Enable/DisableExtension handle non-installed extensions gracefully. Make DisableExtension handle terminated extensions. Make ProcessSyncData enable/disable an extension regardless of whether it's already installed. BUG=72659 TEST= Review URL: http://codereview.chromium.org/6903127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83571 0039d316-1c4b-4281-b951-d872f2087c98
* [Extension] Remove concept of initial incognito stateakalin@chromium.org2011-04-291-21/+16
| | | | | | | | | | | | | | The concept was added to support syncing. Instead, made SetIsIncognitoEnabled() work regardless of whether or not the extension is installed. BUG=72659 TEST= Review URL: http://codereview.chromium.org/6904102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83457 0039d316-1c4b-4281-b951-d872f2087c98
* [Extensions] Make SetExtensionState() take an ID instead of an extensionakalin@chromium.org2011-04-281-7/+3
| | | | | | | | | | | | | | This is a prerequisite for sync being able to enable/disable an extension before it's installed. Removed obsolete TODO. BUG=72659 TEST= Review URL: http://codereview.chromium.org/6903121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83445 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up ExtensionService shutdown and related notifications.aa@chromium.org2011-04-281-91/+96
| | | | | | | | | | | | It is not necessary to unload extensions during destruction because that only happens when the profile is going away, so the unloading would be wasted effort. With that gone, you can also get rid of DestroyingProfile(), which simplifies things. Also moved all hooking of outside components that happens during extension load and unload into a central location. Review URL: http://codereview.chromium.org/6902059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83408 0039d316-1c4b-4281-b951-d872f2087c98
* [Extensions] Add GetInstalledExtension() method to ExtensionServiceakalin@chromium.org2011-04-281-23/+27
| | | | | | | | | | | | | | | Extend GetExtensionByIdInternal() to handle terminated extensions. Make ExtensionService and PendingExtensionManager use GetInstalledExtension(). BUG=80752 TEST= Review URL: http://codereview.chromium.org/6901079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83380 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebUI ntp files into new ntp directory.estade@chromium.org2011-04-281-1/+1
| | | | | | | | | | | And add myself to an ntp watchlist. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6905067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83379 0039d316-1c4b-4281-b951-d872f2087c98
* [Extensions] Check return value of AddFromSync()akalin@chromium.org2011-04-281-7/+10
| | | | | | | | | | | | Add appropriate warnings if the return value is false. BUG= TEST= Review URL: http://codereview.chromium.org/6901067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83282 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 83198 - Remove DestroyingProfile from a few places.These guys are ↵aa@chromium.org2011-04-271-0/+14
| | | | | | | | | both non-refcounted and have a lifetime that isexactly equivalent to Profile.The DestroyingProfile code dates to a time whenExtensionService was ref-counted.Review URL: http://codereview.chromium.org/6905050 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/6902085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83209 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DestroyingProfile from a few places.aa@chromium.org2011-04-271-14/+0
| | | | | | | | | | | | These guys are both non-refcounted and have a lifetime that is exactly equivalent to Profile. The DestroyingProfile code dates to a time when ExtensionService was ref-counted. Review URL: http://codereview.chromium.org/6905050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83198 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 83062 - Move WebUI ntp files into new ntp directory.And add myself to ↵estade@chromium.org2011-04-261-1/+1
| | | | | | | | | an ntp watchlist.BUG=noneTEST=trybotsReview URL: http://codereview.chromium.org/6883154 TBR=estade@chromium.org Review URL: http://codereview.chromium.org/6903039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83063 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebUI ntp files into new ntp directory.estade@chromium.org2011-04-261-1/+1
| | | | | | | | | | | And add myself to an ntp watchlist. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6883154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83062 0039d316-1c4b-4281-b951-d872f2087c98
* Don't hold the installed app in BrowserProcessRenderHost, since that's in ↵jam@chromium.org2011-04-231-0/+20
| | | | | | | | content layer now. ExtensionService keeps a map from renderer child ids to installed extensions instead. Review URL: http://codereview.chromium.org/6880089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82797 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extension dependency from BrowserRenderProcessHost.jam@chromium.org2011-04-231-1/+34
| | | | | | Review URL: http://codereview.chromium.org/6882089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82796 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Refactor ExtensionService for syncakalin@chromium.org2011-04-231-2/+52
| | | | | | | | | | | | | | | | | | | | | | | Move sync-related methods in ExtensionService to the interface ExtensionServiceSyncInterface. Add methods GetSyncData() and GetSyncDataList() for sync to query. Make extension/app sync code use new interface and methods. Stop listening to EXTENSION_INSTALLED notification as it is unneeded; EXTENSION_LOADED/EXTENSION_UPDATE_DISABLED is called afterwards. Clean up now-unneeded methods in ExtensionServiceInterface. Stop keeping track of unsynced extensions in SlurpClientData(). We check it in SlurpServerData(), but we shouldn't be sending that data to the server in the first place. Add OVERRIDE annotations to subclasses of ExtensionService* subclasses. BUG=77995 TEST= Review URL: http://codereview.chromium.org/6900012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82755 0039d316-1c4b-4281-b951-d872f2087c98
* Add .grd strings and remove outdated prototype.skerner@chromium.org2011-04-221-12/+0
| | | | | | | | | | BUG=None TEST=Builds Review URL: http://codereview.chromium.org/6898008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82693 0039d316-1c4b-4281-b951-d872f2087c98
* [Extensions] Make ExtensionService not be ref-countedakalin@chromium.org2011-04-201-76/+102
| | | | | | | | | | | | | | | | | | | | | | | | Use weak pointers instead, which makes it easier to reason about lifetimes. Make CrxInstaller et al. use a weak pointer instead. Add MakeCrxInstaller() function to ExtensionService. Make WebUI handlers use a raw pointer (since they will always get destroyed before the profile does). Make tests use raw or scoped pointers, as appropriate. Rename extensions_service to extension_service where encountered. Add checks for BrowserThread::PostTask. BUG= TEST= Review URL: http://codereview.chromium.org/6873065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82257 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms to track permission use in extensions.jstritar@chromium.org2011-04-191-0/+36
| | | | | | | | | | | Updates the disabled extension prompt to use the new re-enable prompt text. BUG=42672, 37963 TEST=about:histograms/Extensions Review URL: http://codereview.chromium.org/6626024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82177 0039d316-1c4b-4281-b951-d872f2087c98
* Move PepperPluginRegistry to content, while leaving the Chrome specific bits ↵jam@chromium.org2011-04-181-6/+64
| | | | | | | | (NaCl, registration of Chrome plugins like pdf/remoting/flash) behind. Review URL: http://codereview.chromium.org/6869051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81959 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Move some extension-sync-related logic to ExtensionServiceakalin@chromium.org2011-04-171-0/+58
| | | | | | | | | | | | | | | | Add ExtensionSyncData class to hold the data that goes between the extension service and extension sync. Add ProcessSyncData() method to ExtensionService (with unit tests!). Remove now-unneeded extension sync functions. BUG=77995 TEST= Review URL: http://codereview.chromium.org/6852029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81899 0039d316-1c4b-4281-b951-d872f2087c98
* One more check was needed after all.zelidrag@chromium.org2011-04-161-1/+2
| | | | | | | BUG=none TEST=BackgroundApplicationListModelTest.LoadExplicitExtensions git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81873 0039d316-1c4b-4281-b951-d872f2087c98