summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Merge 145407 - Fix extensions download when default download location is drive.gspencer@chromium.org2012-07-181-2/+12
| | | | | | | | | | | | BUG=133040 TEST=manual. Review URL: https://chromiumcodereview.appspot.com/10703083 TBR=achuith@chromium.org Review URL: https://chromiumcodereview.appspot.com/10810002 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@147279 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ActiveTabTests on the beta branch.mpcomplete@chromium.org2012-07-121-3/+3
| | | | | | | | TBR=karen@chromium.org BUG=136629 Review URL: https://chromiumcodereview.appspot.com/10700176 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@146256 0039d316-1c4b-4281-b951-d872f2087c98
* Disable some tests that are failing on the Beta due to features that arempcomplete@chromium.org2012-07-112-2/+2
| | | | | | | | | disabled on the beta branch. TBR=karen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10700172 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@146234 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 146213 - Set the Feature's ChannelForTesting to Trunk during ↵mpcomplete@chromium.org2012-07-112-2/+6
| | | | | | | | | | | | | | | ActiveTabTest. BUG=136629 TEST=no TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10690144 TBR=mpcomplete@chromium.org Review URL: https://chromiumcodereview.appspot.com/10703152 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@146215 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 145119 - An IME API fix. segment_list is obtained but not used.zork@chromium.org2012-07-111-19/+26
| | | | | | | | | | | | | | | | Probably the rest of the block will iterate over the segment_list and fills |segments|, according to the API proposal. R=zork@chromium.org BUG=133255 TEST=none Review URL: https://chromiumcodereview.appspot.com/10689060 TBR=mukai@chromium.org Review URL: https://chromiumcodereview.appspot.com/10694144 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@146209 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 146156 - Set the Feature's ChannelForTesting to Trunk during extension ↵mpcomplete@chromium.org2012-07-112-1/+5
| | | | | | | | | | | | | | | | | tests, so that they pass on beta/stable builds even if the features are restricted to dev/trunk. BUG=136629 TEST=no Review URL: https://chromiumcodereview.appspot.com/10704149 TBR=mpcomplete@chromium.org Review URL: https://chromiumcodereview.appspot.com/10735060 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@146161 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 146130 - Don't create external extension providers for a ↵mpcomplete@chromium.org2012-07-111-0/+1
| | | | | | | | | | | | | | | | | TestExtensionSystem. Otherwise, we might pick up external extensions during unit tests, which Breaks Stuff(tm). BUG=136596 TEST=see bug for manual test Review URL: https://chromiumcodereview.appspot.com/10690139 TBR=bauerb@chromium.org Review URL: https://chromiumcodereview.appspot.com/10698156 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@146158 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 144151 - Fix a crash by removing a CHECK whose assumptions are no ↵mpcomplete@chromium.org2012-07-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | longer valid (that ExtensionWebRequestEventRouter::DispatchEvent was the first code to initialize blocked_requests_). Also temporarily disabled code that blocked network requests on startup on the declarative webrequest API. I hadn't intended it to take effect unless someone had a declarative webrequest extension installed, but messed up. BUG=134547 TEST=install adblock and restart chrome. should not crash. Review URL: https://chromiumcodereview.appspot.com/10662029 TBR=mpcomplete@chromium.org Review URL: https://chromiumcodereview.appspot.com/10692142 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@145958 0039d316-1c4b-4281-b951-d872f2087c98
* Use the first_party_for_cookies URL to filter which requests the WebRequest ↵battre@chromium.org2012-07-034-17/+48
| | | | | | | | | | | | | | API sees Merge of r144529. BUG=134101 TEST=see bug report TBR=battre@chromium.org Review URL: https://chromiumcodereview.appspot.com/10702079 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@145285 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 145136 - Merge 144529 - Use the first_party_for_cookies URL to filter ↵battre@chromium.org2012-07-024-49/+17
| | | | | | | | | | | | | | | | | | which requests the WebRequest API sees BUG=134101 TEST=see bug report Review URL: https://chromiumcodereview.appspot.com/10636056 TBR=battre@chromium.org Review URL: https://chromiumcodereview.appspot.com/10696073 TBR=battre@chromium.org Review URL: https://chromiumcodereview.appspot.com/10693073 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@145168 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 144529 - Use the first_party_for_cookies URL to filter which requests ↵battre@chromium.org2012-07-024-17/+49
| | | | | | | | | | | | | | | the WebRequest API sees BUG=134101 TEST=see bug report Review URL: https://chromiumcodereview.appspot.com/10636056 TBR=battre@chromium.org Review URL: https://chromiumcodereview.appspot.com/10696073 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@145136 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 143966 - chromeos: Make Chrome app a real app.xiyuan@chromium.org2012-06-293-3/+45
| | | | | | | | | | | | | | | | | | | - Add a chrome_app component extension similar to web store; - Remove ChromeAppItem and use the real app; - Minor clean up; - use_aura -> use_ash in browser_resources.grd; - Fix style nits; BUG=133015 TEST=Verify that "chrome" app is searchable. Review URL: https://chromiumcodereview.appspot.com/10652003 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10689050 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@144997 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 143605 - grd file update for new 2x assetsthakis@chromium.org2012-06-245-5/+5
| | | | | | | | | | | | | | | | The grd changes were made by http://pastie.org/4132407 (and then cleaned up manually). BUG=132910 TEST=Look at various icons (blocked plugins, "press tab to search", etc) TBR=sky Review URL: https://chromiumcodereview.appspot.com/10642014 TBR=thakis@chromium.org Review URL: https://chromiumcodereview.appspot.com/10656014 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@143848 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 143322 - Add a 'more info' link to the off-store install infobar.aa@chromium.org2012-06-211-8/+6
| | | | | | | | | | | BUG=133873 Review URL: https://chromiumcodereview.appspot.com/10597007 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10599006 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@143328 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 142921 - Use an infobar instead of alert box for extension installaa@chromium.org2012-06-2012-65/+164
| | | | | | | | | | | | | | | | | | error. Also, setup the 'learn more' link for off-store install failure, but don't enable yet as we don't quite have anything to link to. BUG=55584 TBR=yoz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10559056 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10581043 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@143213 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142427 - Cleaning Up Extensions When Local Content Removedkaren@chromium.org2012-06-195-384/+24
| | | | | | | | | | | | | | | | | | | | | 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: https://chromiumcodereview.appspot.com/10541126 TBR=rdevlin.cronin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10579028 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@143047 0039d316-1c4b-4281-b951-d872f2087c98
* Keep shelf item visible when extension install blocked off-store.aa@chromium.org2012-06-192-1/+15
| | | | | | | | | BUG=133025 TBR=yoz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10559026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142885 0039d316-1c4b-4281-b951-d872f2087c98
* Order the script badges in the location bar in the order thatkalman@chromium.org2012-06-185-41/+103
| | | | | | | | | | | they appeared, and fix the logic on each platform which assumes they never change. BUG=133139 Review URL: https://chromiumcodereview.appspot.com/10544185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142855 0039d316-1c4b-4281-b951-d872f2087c98
* Persist declarative rules to the extension state store.mpcomplete@chromium.org2012-06-1812-22/+420
| | | | | | | | | BUG=123366 TEST=no Review URL: https://chromiumcodereview.appspot.com/10560013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142842 0039d316-1c4b-4281-b951-d872f2087c98
* Change the USB extension API to use ArrayBuffers.gdk@chromium.org2012-06-183-12/+6
| | | | | | | | | | BUG=130181 TEST=none Review URL: https://chromiumcodereview.appspot.com/10561021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142827 0039d316-1c4b-4281-b951-d872f2087c98
* Implement base::win::IsMetroProcess. siggi@chromium.org2012-06-181-1/+1
| | | | | | | | | | | | | Change GetMetroModule callers that don't need the HMODULE. TBR=stevenjb@chromium.org,brettw@chromium.org,mirandac@chromium.org,sky@chromium.org,kalman@chromium.org BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10560015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142801 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new --enable-script-badges flag and use that rather than ↵kalman@chromium.org2012-06-183-5/+5
| | | | | | | | | | | | --enable-action-box where appropriate. Also remove the behaviour where page actions are turned into browser actions (just swallow them). Review URL: https://chromiumcodereview.appspot.com/10544190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142800 0039d316-1c4b-4281-b951-d872f2087c98
* Initial work to remove the notion of all extension message payloads as strings.gdk@chromium.org2012-06-183-20/+89
| | | | | | | | | | | | | | | | The internal IPC events already route ListValues around, however a _lot_ of places have assumed that the message payload string will be eventually treated as a JSON string. This change allows arbitrary Value types to be passed in message payloads while still handling the case of users of the API passing in hard-coded JSON strings. BUG=133190 TEST=none Review URL: https://chromiumcodereview.appspot.com/10566018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142785 0039d316-1c4b-4281-b951-d872f2087c98
* Bluetooth API: Add getServicesbryeung@chromium.org2012-06-182-1/+78
| | | | | | | | | | | | | This CL depends on https://chromiumcodereview.appspot.com/10543170/ TEST=coming soon BUG=132598 Review URL: https://chromiumcodereview.appspot.com/10543171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142775 0039d316-1c4b-4281-b951-d872f2087c98
* ContentSettings now uses the JSON Schema Compiler.hebert.christopherj@chromium.org2012-06-184-85/+62
| | | | | | | | | BUG=121174 TEST=Old Tests Cover Review URL: https://chromiumcodereview.appspot.com/10553018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142763 0039d316-1c4b-4281-b951-d872f2087c98
* Add ManagedModePolicyProvider and extension API to get and set policies.bauerb@chromium.org2012-06-183-0/+60
| | | | | | | | | | BUG=128318 TEST=none Review URL: https://chromiumcodereview.appspot.com/10510006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142720 0039d316-1c4b-4281-b951-d872f2087c98
* Fix fileSystem extension API to work when user chooses existing file for ↵benwells@chromium.org2012-06-181-1/+2
| | | | | | | | | | | | writing. BUG=133068 TEST=Manually tested Review URL: https://chromiumcodereview.appspot.com/10563019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142668 0039d316-1c4b-4281-b951-d872f2087c98
* Bluetooth Extension API: Add a discovery APIbryeung@chromium.org2012-06-187-29/+225
| | | | | | | | | | | | BUG=132597 TEST=simple test added (events testing coming in a future CL: crbug.com/132616) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142623 Review URL: https://chromiumcodereview.appspot.com/10536159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142666 0039d316-1c4b-4281-b951-d872f2087c98
* Change Bluetooth API to use options dictionaries.bryeung@chromium.org2012-06-183-201/+143
| | | | | | | | | | | TEST=ran the api tests BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142617 Review URL: https://chromiumcodereview.appspot.com/10535181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142665 0039d316-1c4b-4281-b951-d872f2087c98
* Move input.ime back out of experimental for M21zork@chromium.org2012-06-183-23/+17
| | | | | | | | | BUG=chromium-os:23646 Review URL: https://chromiumcodereview.appspot.com/10533170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142664 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142617 - Change Bluetooth API to use options dictionaries.nsylvain@chromium.org2012-06-173-143/+201
| | | | | | | | | | | | | | | This broke BluetoothApiTest.SetOutOfBandPairingData TEST=ran the api tests BUG=none Review URL: https://chromiumcodereview.appspot.com/10535181 TBR=bryeung@chromium.org Review URL: https://chromiumcodereview.appspot.com/10563018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142645 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142630 - Disable BluetoothApiTest.SetOutOfBandPairingData under ASan.nsylvain@chromium.org2012-06-171-7/+1
| | | | | | | | | | | | | I'm reverting the change that added the test, so this won't be needed anymore. BUG=133199 TBR=bryeung Review URL: https://chromiumcodereview.appspot.com/10544200 TBR=glider@chromium.org Review URL: https://chromiumcodereview.appspot.com/10559023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142644 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142623 - Bluetooth Extension API: Add a discovery APInsylvain@chromium.org2012-06-177-225/+29
| | | | | | | | | | | | | | | | This change depends on 142617, which broke browser tests on chromeos. BUG=132597 TEST=simple test added (events testing coming in a future CL: crbug.com/132616) Review URL: https://chromiumcodereview.appspot.com/10536159 TBR=bryeung@chromium.org Review URL: https://chromiumcodereview.appspot.com/10556033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142643 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BluetoothApiTest.SetOutOfBandPairingData under ASan.glider@chromium.org2012-06-171-1/+7
| | | | | | | | BUG=133199 TBR=bryeung Review URL: https://chromiumcodereview.appspot.com/10544200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142630 0039d316-1c4b-4281-b951-d872f2087c98
* Bluetooth Extension API: Add a discovery APIbryeung@chromium.org2012-06-177-29/+225
| | | | | | | | | | | BUG=132597 TEST=simple test added (events testing coming in a future CL: crbug.com/132616) Review URL: https://chromiumcodereview.appspot.com/10536159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142623 0039d316-1c4b-4281-b951-d872f2087c98
* Change Bluetooth API to use options dictionaries.bryeung@chromium.org2012-06-163-201/+143
| | | | | | | | | | TEST=ran the api tests BUG=none Review URL: https://chromiumcodereview.appspot.com/10535181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142617 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=110235mitchellwrosen@chromium.org2012-06-1512-864/+925
| | | | | | | | | | | | TEST=Manual Refactored chrome/browser/extensions/extension_browsertests_misc.cc into several files, as per Aaron's recommendations. Review URL: https://chromiumcodereview.appspot.com/9568043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142518 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BrowserList::GetLastActive from extensions install dialog code by ↵jam@chromium.org2012-06-1524-88/+90
| | | | | | | | | plumbing through the Browser window. In two places (file_manager_util.cc and download_crx_util.cc) there is no context so I left those with FindLastActiveWithProfile for now. BUG=129187 Review URL: https://chromiumcodereview.appspot.com/10548057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142489 0039d316-1c4b-4281-b951-d872f2087c98
* Updated web navigation extension api to use json schema compiler.mtytel@chromium.org2012-06-153-37/+29
| | | | | | | | | | BUG=121174 TEST= Review URL: https://chromiumcodereview.appspot.com/10541190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142475 0039d316-1c4b-4281-b951-d872f2087c98
* Rename IPC::Channel and IPC::Sender in src/chrome.brettw@chromium.org2012-06-159-16/+16
| | | | | | | | | | | | Changes code in chrome to use the new names over the old now-typedefed-for-compat ones. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10553010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142474 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable regression test for packing and installing extensions on Windows.hebert.christopherj@chromium.org2012-06-153-9/+15
| | | | | | | | | | | | | | | I changed it to wait for NOTIFICATION_CRX_INSTALLER_DONE as that notification is definitely sent after confirmation_requested is set to true. Before, it waited for NOTIFICATION_EXTENSION_INSTALLED which occurs at about the same time, causing the test to be flaky for Windows. BUG=130951 TEST=Yes Review URL: https://chromiumcodereview.appspot.com/10540068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142457 0039d316-1c4b-4281-b951-d872f2087c98
* Add drive search function to fileBrowserPrivate api.tbarzic@chromium.org2012-06-151-0/+1
| | | | | | | | | BUG=129068 TEST=added RemoteFileSystemExtensionApiTest.ContentSearch Review URL: https://chromiumcodereview.appspot.com/10548032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142436 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning Up Extensions When Local Content Removedrdevlin.cronin@chromium.org2012-06-155-25/+385
| | | | | | | | | | | | | | | | | | 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: https://chromiumcodereview.appspot.com/10541126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142427 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromiumOS compile.bryeung@chromium.org2012-06-151-3/+3
| | | | | | | | | BUG=none TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10562008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142402 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional device attributes.bryeung@chromium.org2012-06-152-17/+40
| | | | | | | | | | | TEST=updated apitest BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142360 Review URL: https://chromiumcodereview.appspot.com/10537167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142396 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142360 - Add additional device attributes.hbono@chromium.org2012-06-152-38/+16
| | | | | | | | | | | | | TEST=updated apitest BUG=none Review URL: https://chromiumcodereview.appspot.com/10537167 TBR=bryeung@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142363 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional device attributes.bryeung@chromium.org2012-06-152-16/+38
| | | | | | | | | | TEST=updated apitest BUG=none Review URL: https://chromiumcodereview.appspot.com/10537167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142360 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the OOB Pairing APIs.bryeung@chromium.org2012-06-153-17/+307
| | | | | | | | | | | | This depends on https://chromiumcodereview.appspot.com/10546010 TEST=new apitests added BUG=119473 Review URL: https://chromiumcodereview.appspot.com/10544013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142346 0039d316-1c4b-4281-b951-d872f2087c98
* Implement fileSystem.chooseFile.benwells@chromium.org2012-06-152-31/+150
| | | | | | | | | | | | | | This allows platform apps to prompt the user for a file to read or a file to write. If opening (reading) the file entry returned will be read only. If saving the file entry will be read write. BUG=130196 TEST=Manual testing Review URL: https://chromiumcodereview.appspot.com/10534156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142314 0039d316-1c4b-4281-b951-d872f2087c98
* Allow platform apps to open links in the browser.mihaip@chromium.org2012-06-151-0/+11
| | | | | | | | | | | | Triggered via <a href="..." target="_blank"> or window.open('...'). R=miket@chromium.org BUG=130213 Review URL: https://chromiumcodereview.appspot.com/10534147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142292 0039d316-1c4b-4281-b951-d872f2087c98