summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser_extensions.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Experimental USB APIgdk@chromium.org2012-04-281-0/+12
| | | | | | | | | | | | This change adds a new API for low-level access to USB devices. The change depends on https://chromiumcodereview.appspot.com/10161035/ BUG=none TEST=none Review URL: http://codereview.chromium.org/10224009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134423 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 134390 - Experimental USB APIjamesr@chromium.org2012-04-271-12/+0
| | | | | | | | | | | | | | | This change adds a new API for low-level access to USB devices. The change depends on https://chromiumcodereview.appspot.com/10161035/ BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10224009 TBR=miket@chromium.org Review URL: https://chromiumcodereview.appspot.com/10137013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134392 0039d316-1c4b-4281-b951-d872f2087c98
* Experimental USB APImiket@chromium.org2012-04-271-0/+12
| | | | | | | | | | | | This change adds a new API for low-level access to USB devices. The change depends on https://chromiumcodereview.appspot.com/10161035/ BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10224009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134390 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 134062 (broke sync_integration_tests) - Cleaning Up Extensions When ↵szym@chromium.org2012-04-261-2/+0
| | | | | | | | | | | | | | | | | | | | | | | Local Content Removed This fixes an issue where removing an extension's local content, e.g. deleting the user-data-dir/Default/Extensions/<id> directory, would result in a broken extension. Chrome will now uninstall/remove any extensions where the path to the extension cannot be resolved. BUG=31910 TEST=ExtensionServiceTest.CleanupInternalExtensionsMissingLocalContent; ExtensionServiceTest.CleanupUnpackedExtensionsMissingLocalContent; test by hand by loading an extension, deleting the local directory, and restarting chrome Review URL: http://codereview.chromium.org/9817018 TBR=rdevlin.cronin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10202022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134115 0039d316-1c4b-4281-b951-d872f2087c98
* Fully merge the implementations of the browserAction and pageAction APIskalman@chromium.org2012-04-261-1/+0
| | | | | | | | | | BUG=124605 TEST=browser_tests --gtest_filter=*BrowserAction* and --gtest_filter=*PageAction* Review URL: http://codereview.chromium.org/10231002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134080 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning Up Extensions When Local Content Removedrdevlin.cronin@chromium.org2012-04-261-0/+2
| | | | | | | | | | | | | | | | | | This fixes an issue where removing an extension's local content, e.g. deleting the user-data-dir/Default/Extensions/<id> directory, would result in a broken extension. Chrome will now uninstall/remove any extensions where the path to the extension cannot be resolved. BUG=31910 TEST=ExtensionServiceTest.CleanupInternalExtensionsMissingLocalContent; ExtensionServiceTest.CleanupUnpackedExtensionsMissingLocalContent; test by hand by loading an extension, deleting the local directory, and restarting chrome Review URL: http://codereview.chromium.org/9817018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134062 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out the URL matching from the Web Request API to the declarative API.battre@chromium.org2012-04-181-2/+6
| | | | | | | | | | | | This CL moves the definition of UrlFilters (e.g. matching by hostSuffix, port ranges, schemes, ...) into a separate data type hosted in the declarative API. This way this data type can be reused by other APIs such as the declarative web request api and triggers for event pages. BUG=112155 TEST=no Review URL: http://codereview.chromium.org/9968124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132845 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 132589 - Revert 132440 - Allow extension APIs to be compiled out.sky@chromium.org2012-04-171-48/+83
| | | | | | | | | | | | | | | | BUG=117407,123835 TEST= Review URL: http://codereview.chromium.org/10031002 TBR=jgreenwald@chromium.org Review URL: https://chromiumcodereview.appspot.com/10107026 TBR=zmo@google.com Review URL: https://chromiumcodereview.appspot.com/10106026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132591 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 132440 - Allow extension APIs to be compiled out.zmo@google.com2012-04-171-83/+48
| | | | | | | | | | | | | BUG=117407,123835 TEST= Review URL: http://codereview.chromium.org/10031002 TBR=jgreenwald@chromium.org Review URL: https://chromiumcodereview.appspot.com/10107026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132589 0039d316-1c4b-4281-b951-d872f2087c98
* Allow extension APIs to be compiled out.jgreenwald@chromium.org2012-04-161-48/+83
| | | | | | | | | | BUG=117407 TEST= Review URL: http://codereview.chromium.org/10031002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132440 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented proper support for checking schemes and requested resource types.battre@chromium.org2012-04-121-0/+2
| | | | | | | | | | | This CL implements filter support for schemes that is handled by the URLMatcher, where it should be. In order to not lose the last WebRequestConditionAttribute implementation, support for filtering by ResourceType has been implemented in this CL as well. BUG=112155 TEST=no Review URL: https://chromiumcodereview.appspot.com/10012004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132003 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out the "sync processing" portion of SyncableSettingsStorage into itskalman@chromium.org2012-04-121-0/+2
| | | | | | | | | | | | | | | | | own class which just takes SettingChanges and converts them into calls to the Sync API. This is so that we can easily add sync throttling at a per-extension level without needing to complicate SyncableSettingsStorage any further. BUG=120596 TEST=unit_tests --gtest_filter=*ExtensionSetting*, sync integration tests Review URL: http://codereview.chromium.org/9969154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131924 0039d316-1c4b-4281-b951-d872f2087c98
* Create New AppSyncData Classcsharp@chromium.org2012-04-111-0/+6
| | | | | | | | | | | | Remove the application specific functionality from ExtensionSyncData and move it into its own new class. BUG=107729 TEST=All ExtensionSyncData and AppSyncData unit tests pass Review URL: http://codereview.chromium.org/9701076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131760 0039d316-1c4b-4281-b951-d872f2087c98
* Finish implementation of chrome.experimental.alarms API, with niftympcomplete@chromium.org2012-04-101-0/+2
| | | | | | | | | | | ExtensionFunction unittests. BUG=81758 TEST=no Review URL: https://chromiumcodereview.appspot.com/10005051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131666 0039d316-1c4b-4281-b951-d872f2087c98
* Make ExtensionPrefValueMap a ProfileKeyedService.yoz@chromium.org2012-04-061-0/+2
| | | | | | | | | | BUG=104095 TEST=no Review URL: http://codereview.chromium.org/9764006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131136 0039d316-1c4b-4281-b951-d872f2087c98
* Move files inside chrome/browser/chromeos/dbus to chromeos/dbushashimoto@chromium.org2012-04-061-1/+0
| | | | | | | | | | | | | | | | Move files in chrome/browser/chromeos/dbus/ to chromeos/dbus Add chromeos/dbus/DEPS Add chromeos.gyp:chromeos_test_support and chromeos.gyp:chromeos_unittests Add CHROMEOS_EXPORT to classes Move power related proto targets to chromeos.gyp Rewrite and sort #includes BUG=119583 TEST=component chromeos build success, checkdeps success Review URL: https://chromiumcodereview.appspot.com/9838085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131065 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up WebRequestRulesRegistry into old WebRequest APIbattre@chromium.org2012-04-051-0/+2
| | | | | | | | | BUG=112155 TEST=no Review URL: https://chromiumcodereview.appspot.com/9965019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130867 0039d316-1c4b-4281-b951-d872f2087c98
* Move transient background events from chrome.experimental.extension to ↵mihaip@chromium.org2012-04-041-0/+2
| | | | | | | | | | | | chrome.experimental.runtime This namespace makes more sense for APIs that are applicable to apps too. R=mpcomplete@chromium.org Review URL: https://chromiumcodereview.appspot.com/9968116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130758 0039d316-1c4b-4281-b951-d872f2087c98
* Generate list of valid serial port names. Check against that list.miket@chromium.org2012-04-041-2/+3
| | | | | | | | | BUG=121466 TEST=added Review URL: https://chromiumcodereview.appspot.com/9959067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130695 0039d316-1c4b-4281-b951-d872f2087c98
* Move webNavigation extension api into a separate directoryjochen@chromium.org2012-04-041-4/+4
| | | | | | | | | BUG=101244 TEST=none Review URL: https://chromiumcodereview.appspot.com/9959097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130577 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 125805 - Reland 124817 - A profile-keyed service for Extensions, ↵yoz@chromium.org2012-04-021-0/+4
| | | | | | | | | | | | | | | | | ExtensionSystem. Move InitExtensions into ExtensionSystem. Remove a few accessors (ExtensionDevToolsManager, ExtensionMessageService). The others have too many callers to fix in one go. New since last time: Moved LazyBackgroundTaskQueue into ExtensionSystem. BUG=104095 TEST=Open and close an incognito window; should not crash. TBR=aa@chromium.org,akalin@chromium.org Review URL: https://chromiumcodereview.appspot.com/9959040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130128 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of beginning of Declarative Web Request API backendbattre@chromium.org2012-03-291-0/+11
| | | | | | | | | | | This CL implements the beginning of the RulesRegistry for the Declarative Web Request API; it allows registering rules and checking whether their conditions are fulfilled. BUG=112155 TEST=no Review URL: https://chromiumcodereview.appspot.com/9820003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129585 0039d316-1c4b-4281-b951-d872f2087c98
* Add experimental.alarms API to allow lazy background pages to wake ↵mpcomplete@chromium.org2012-03-281-0/+2
| | | | | | | | | | | themselves up after a timeout. BUG=81758 TEST=no Review URL: https://chromiumcodereview.appspot.com/9791011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129495 0039d316-1c4b-4281-b951-d872f2087c98
* rlz: Hook up on mac, switch to chrome's network stack on win.thakis@chromium.org2012-03-261-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL conceptually does several things (most of them just one line). 1. Roll RLZ 105:118 106: Fix "expression result unused" warning caused by VERIFY() use. 107: rlz: Add an implementation of PingServer() that uses chrome's net stack. 108: Implement RlzValueStoreMac. 109: Move GetMachineId() to its own file. No intended behavior change. 110: Implement GetSystemTimeAsInt64() on mac. 111: Minor cleanups. 112: Don't pay a static initializer for expected_assertion_ when it's not used. 113: Rename rlz_lib2.cc and win/lib/rlz_lib.cc to win/lib/rlz_lib_win.cc 114: mac: Implement GetMachineId(). 115: mac: Implement the locking part of ScopedRlzValueStoreLock. 116: Tweaks to make the use of chrome's net stack forceable through gyp. 117: Push RLZ_NETWORK_IMPLEMENTATION_ define to dependent targets. 118: Use base::mac::ScopedNSAutorleasePool only on mac. 2. Change rlz.cpp to use the blocking pool instead of the file thread. 3. Enable on mac. 4. Switch to chrome's network stack on windows 5. Switch RlzSendFinancialPingFunction to be an AsyncExtensionFunction that calls SendFinancialPing on a worker thread. This is required because extension functions run with a MessageLoop, so the MessageLoop in SendFinancialPing in rlz would trigger an assert (and making that inner loop nestable seems like a very bad idea). This change also removes one instance of ScopedAllowIO and fixes a TODO. BUG=46579 TEST= 1.) Do an official chrome build 2.) Add gratuitous logging in rlz.cc and other places and check that by default: * The channel is reported as "stable" * The brand code is the empty string * This brand code counts as organic install * RLZ exits early. 3.) Create ~/Library/Google/Google\ Chrome\ Brand.plist and add e.g. the string "BRAND" for key KSBrandID, restart chrome. * Brand code is now "BRAND" (this depends on Chrome's Info.plist not having a KSBrandID key, which has precedence. Currently our Chromes seem to never have this key.) * A ping is scheduled, but nothing is sent. * Use the omnibox a little, which causes product events to be recorded. 4.) Restart chrome yet again, wait a bit. * Logging in "SendFinancialPing()" should print: pinging http://clients1.google.com:80/tools/pso/ping?as=chrome&brand=BRAND&pid=&hl=en&events=C1F,C1S&rep=2&rlz=C1:1C1_____enUS476,C2:1C2_____enUS476&id=0926C138C2EA77A791CB450D322D0183E5A8079300000001B5 ping completed! TBR=sky Review URL: https://chromiumcodereview.appspot.com/9699054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129028 0039d316-1c4b-4281-b951-d872f2087c98
* Move TTS extension API to chrome/browser/speech/dmazzoni@chromium.org2012-03-241-15/+0
| | | | | | | | | | | | | | | | Renames the files trivially, basically extension_tts -> tts_extension. No code changes in this CL! Also adds dmazzoni and dtseng to the OWNERS file of chrome/browser/speech. Obviously we won't review changes related to the speech input api, if someone pings one of us by accident we'll refer them to Satish. BUG=104467 TEST=none Review URL: https://chromiumcodereview.appspot.com/9808024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128709 0039d316-1c4b-4281-b951-d872f2087c98
* Add an experimental identity API for platform apps.jstritar@chromium.org2012-03-231-0/+2
| | | | | | | | | | | | | This adds a way for platform apps to access the user's signed into chrome account and generate an OAuth2 token: - chrome.experimental.identity.getAuthToken BUG=none TEST=ExtensionApiTest.Identity Review URL: http://codereview.chromium.org/9474005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128591 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128296 - Add an experimental identity API for platform apps.gman@chromium.org2012-03-231-2/+0
| | | | | | | | | | | | | | | | | | | | | This adds a way for platform apps to access the user's signed into chrome account and generate an OAuth2 token: - chrome.experimental.identity.getUserId - chrome.experimental.identity.getAuthToken sorry, I'm not 100% sure this is the right CL to revert but http://build.chromium.org/p/chromium/builders/Win7%20Tests%20%28dbg%29%282%29/builds/3732/steps/browser_tests/logs/Identity http://build.chromium.org/p/chromium/builders/Mac10.6%20Tests%20%281%29/builds/18606/steps/browser_tests/logs/Identity http://build.chromium.org/p/chromium/builders/Mac%2010.5%20Tests%20%28dbg%29%283%29/builds/16348/steps/browser_tests/logs/Identity BUG=none TEST=ExtensionApiTest.Identity Review URL: http://codereview.chromium.org/9474005 TBR=jstritar@chromium.org Review URL: https://chromiumcodereview.appspot.com/9838041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128400 0039d316-1c4b-4281-b951-d872f2087c98
* Add an experimental identity API for platform apps.jstritar@chromium.org2012-03-221-0/+2
| | | | | | | | | | | | | This adds a way for platform apps to access the user's signed into chrome account and generate an OAuth2 token: - chrome.experimental.identity.getUserId - chrome.experimental.identity.getAuthToken BUG=none TEST=ExtensionApiTest.Identity Review URL: http://codereview.chromium.org/9474005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128296 0039d316-1c4b-4281-b951-d872f2087c98
* Basic infrastructure for the Bluetooth API.bryeung@chromium.org2012-03-221-0/+2
| | | | | | | | | | | | | This CL adds NIY stubs for most methods, just providing a few basic status methods and events. BUG=119336 TEST=Tested manually via a simple extension. Tests will come as the bluetooth stack gains mocks. Review URL: http://codereview.chromium.org/9822001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128227 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128089 - Initial extension bindings for Media Gallery API.gman@chromium.org2012-03-221-2/+0
| | | | | | | | | | | | BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9358076 TBR=vandebo@chromium.org Review URL: https://chromiumcodereview.appspot.com/9812036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128136 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127903 - Revert 127887 - Replace extension disabled infobar with a ↵yoz@chromium.org2012-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | global error. Move disabled-extension interface to namespace extensions. It looks like this: http://dl.dropbox.com/u/27111995/Mocks/disable-dialog.png http://dl.dropbox.com/u/27111995/Mocks/disable-menu.png BUG=108202 TEST=install extension, update to version that requires additional permissions. Accept upgrade. Uninstall manually from chrome://extensions. Don't crash. Review URL: http://codereview.chromium.org/9718008 TBR=yoz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9802007 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9812033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128124 0039d316-1c4b-4281-b951-d872f2087c98
* Initial extension bindings for Media Gallery API.vandebo@chromium.org2012-03-211-0/+2
| | | | | | | | | BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9358076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128089 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land alexbost's experimental offscreenTabs API.jstritar@chromium.org2012-03-211-0/+4
| | | | | | | | | | | | | | | | | Original code review: http://codereview.chromium.org/7720002/ A followup code review: http://chromiumcodereview.appspot.com/9150052/ This includes some refactoring to simplify and reduce the code size: - sharing more code between tabs and offscreenTabs - splitting up and fixing the browser tests - forbidding use of the API from a background page BUG=110833 TEST=OffscreenTabsApiTest.* Review URL: https://chromiumcodereview.appspot.com/9813014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128037 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127887 - Replace extension disabled infobar with a global error.sky@chromium.org2012-03-211-2/+2
| | | | | | | | | | | | | | | | | | Move disabled-extension interface to namespace extensions. It looks like this: http://dl.dropbox.com/u/27111995/Mocks/disable-dialog.png http://dl.dropbox.com/u/27111995/Mocks/disable-menu.png BUG=108202 TEST=install extension, update to version that requires additional permissions. Accept upgrade. Uninstall manually from chrome://extensions. Don't crash. Review URL: http://codereview.chromium.org/9718008 TBR=yoz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9802007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127903 0039d316-1c4b-4281-b951-d872f2087c98
* Replace extension disabled infobar with a global error.yoz@chromium.org2012-03-211-2/+2
| | | | | | | | | | | | | | | Move disabled-extension interface to namespace extensions. It looks like this: http://dl.dropbox.com/u/27111995/Mocks/disable-dialog.png http://dl.dropbox.com/u/27111995/Mocks/disable-menu.png BUG=108202 TEST=install extension, update to version that requires additional permissions. Accept upgrade. Uninstall manually from chrome://extensions. Don't crash. Review URL: http://codereview.chromium.org/9718008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127887 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127833 - Re-land alexbost's experimental offscreenTabs API.dgrogan@chromium.org2012-03-211-4/+0
| | | | | | | | | | | | | | | | | | | | Original code review: http://codereview.chromium.org/7720002/ A followup code review: http://chromiumcodereview.appspot.com/9150052/ This includes some refactoring to simplify and reduce the code size: - sharing more code between tabs and offscreenTabs - splitting up and fixing the browser tests - forbidding use of the API from a background page BUG=110833 TEST=OffscreenTabsApiTest.* Review URL: https://chromiumcodereview.appspot.com/9234042 TBR=jstritar@chromium.org Review URL: https://chromiumcodereview.appspot.com/9796012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127863 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land alexbost's experimental offscreenTabs API.jstritar@chromium.org2012-03-201-0/+4
| | | | | | | | | | | | | | | | | Original code review: http://codereview.chromium.org/7720002/ A followup code review: http://chromiumcodereview.appspot.com/9150052/ This includes some refactoring to simplify and reduce the code size: - sharing more code between tabs and offscreenTabs - splitting up and fixing the browser tests - forbidding use of the API from a background page BUG=110833 TEST=OffscreenTabsApiTest.* Review URL: https://chromiumcodereview.appspot.com/9234042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127833 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 127159 (http://codereview.chromium.org/9666059) plus important fixes.miket@chromium.org2012-03-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor extension_function_dispatcher to extract ExtensionFunctionRegistry. This allows us to generate an additional code block that takes an ExtensionFunctionRegistry and asks it to register generated API functions. Then switch DnsResolve over to get registered this way. Along the way, notice that DNSResolve is capitalized using an untenable style. Fix that. Fixes since original 127159: - change name of build rule to gen_bundle_api - actually add per-file dependencies to .gyp (this was why clean builds failed) - change 'outputs' to match the emitted filename, fixing a needless rebuild problem. - split the top-level build action that was a part of json_schema_compile.gypi, and include it only in api.gyp, thus fixing the problem where json_schema_compiler_tests.gyp was asking it to create outputs in the tools/json_schema_compiler_test directory, again causing needless work during the build process. BUG=none (essential plumbing work) TEST=same as before. Review URL: https://chromiumcodereview.appspot.com/9716003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127555 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor folders in chrome/browser/extensions/apicduvall@chromium.org2012-03-181-10/+10
| | | | | | | | | | | | Renamed folders to the form the_folder instead of thefolder BUG=118230 TEST=*BrowsingData*, *WebRequest* TBR=mattm@chromium.org, miranda@chromium.org Review URL: http://codereview.chromium.org/9701039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127388 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor browserAction API and pageAction APIcduvall@chromium.org2012-03-171-6/+8
| | | | | | | | | | | | | | Created a new class ExtensionActionFunction that allows BrowserActionFunction and PageActionFunction to share much of their code. PageActionFunction still has a lot of pageAction specific code for enabling/disabling. BUG=118060 TEST=*BrowserAction*, *PageAction* Review URL: http://codereview.chromium.org/9704004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127371 0039d316-1c4b-4281-b951-d872f2087c98
* Lazy background pages now load in response to message passing.mpcomplete@chromium.org2012-03-161-0/+2
| | | | | | | | | | | | | | I refactored the pending event stuff so that it handles generic tasks. The first enqueued task for an extension will start its lazy background page, and tasks are run once the page finishes loading. Events and messages now share this mechanism so that either one can activate the page. BUG=81752 TEST=no Review URL: https://chromiumcodereview.appspot.com/9704031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127216 0039d316-1c4b-4281-b951-d872f2087c98
* Split ExtensionUpdater into two smaller classes.joaodasilva@chromium.org2012-03-161-2/+10
| | | | | | | | | | | | | | | | | The new ExtensionDownloader takes care of fetching manifests, parsing them, and downloading crx files. These are then passed to a Delegate. The ExtensionUpdater is one such Delegate, and does the same as before. This makes it possible for other components to download extensions given an ID and update URL; in particular, the retail-mode AppPack for chromeos. BUG=chromium-os:25463 TEST=Exactly everything about installing/updating extensions works exactly the same. All tests pass. Review URL: https://chromiumcodereview.appspot.com/9695019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127206 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127159 - Refactor extension_function_dispatcher to extract ↵miket@chromium.org2012-03-161-2/+0
| | | | | | | | | | | | | | | | | | ExtensionFunctionRegistry. This allows us to generate an additional code block that takes an ExtensionFunctionRegistry and asks it to register generated API functions. Then switch DnsResolve over to get registered this way. Along the way, notice that DNSResolve is capitalized using an untenable style. Fix that. BUG=none (essential plumbing work) TEST=same as before Review URL: http://codereview.chromium.org/9666059 TBR=miket@chromium.org Review URL: https://chromiumcodereview.appspot.com/9701105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127188 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor extension_function_dispatcher to extract ExtensionFunctionRegistry. ↵miket@chromium.org2012-03-161-0/+2
| | | | | | | | | | | | | | | This allows us to generate an additional code block that takes an ExtensionFunctionRegistry and asks it to register generated API functions. Then switch DnsResolve over to get registered this way. Along the way, notice that DNSResolve is capitalized using an untenable style. Fix that. BUG=none (essential plumbing work) TEST=same as before Review URL: http://codereview.chromium.org/9666059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127159 0039d316-1c4b-4281-b951-d872f2087c98
* Move Proxy Settings API from chrome/browser/extensions to ↵battre@chromium.org2012-03-121-6/+6
| | | | | | | | | | | | chrome/browser/eextensions/api/proxy BUG=101244 TEST=no Review URL: http://codereview.chromium.org/9690006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126227 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Create new top-level sync/ directoryakalin@chromium.org2012-03-101-0/+1
| | | | | | | | | | | | | Move sync .proto files to sync/protocol. Update all references. This begins the Great Sync Migration. BUG=117585,43624 TEST= Review URL: https://chromiumcodereview.appspot.com/9668028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125967 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up chrome_browser_extensions.gypi a bit.thakis@chromium.org2012-03-101-136/+2
| | | | | | | | | | BUG=none TEST=Things still build. Review URL: http://codereview.chromium.org/9664016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125951 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented an AbstractRulesRegistry for declarative APIs.battre@chromium.org2012-03-091-0/+2
| | | | | | | | | | | | | | | This is a base class for concrete RuleRegistries like the one that will be implemented for the declarative webrequest API. With this base class, the concrete implementation does not need to take care of storing any JSON objects that represent the rules. BUG=112155 TEST=no Review URL: http://codereview.chromium.org/9653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125842 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the ExtensionKeybindingRegistry into cross-platform and Views ↵finnur@chromium.org2012-03-091-0/+2
| | | | | | | | | | | | | | | specific implementations, and implement the GTK part. Overview of refactoring: Old extension_keybinding_registry.h/cc has been svn copied into ui/views and then renamed as extension_keybinding_registry_VIEWS.h/cc. New extension_keybinding_registry.h/cc contains the logic that was cross platform. The views implementation was then svn copied into the gtk folder and ported to GTK. BUG=27702 TEST=Covered by automated tests. Review URL: https://chromiumcodereview.appspot.com/9638016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125830 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Reland 124817 - Take extensions out of Profile into a profile-keyed ↵akalin@chromium.org2012-03-091-4/+0
| | | | | | | | | | | | | | service, ExtensionSystem." I believe this change is causing failures in [SocketApiTest.Socket{TCP,UDP}Extension. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9648026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125815 0039d316-1c4b-4281-b951-d872f2087c98