summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Enrich fileBrowserPrivate.onFileTransfersUpdated event to support displaying ↵iseki2014-09-041-1/+4
| | | | | | | | | | | | | | | | | | total number of jobs. * "added" type is added * "num_total_jobs" member is added * and this is for displaying the total number of jobs in Chrome OS file manager BUG=400636 TEST= manually 1. Copy the local file to drive directory. 2. Observe the status of syncing status. Review URL: https://codereview.chromium.org/507293002 Cr-Commit-Position: refs/heads/master@{#293257}
* Do not return a homepage URL for shared moduleselijahtaylor2014-09-031-3/+7
| | | | | | | | | | | This keeps the "Visit Website" link from showing up in chrome://extensions, which makes sense because shared modules are automatically installed. BUG=408927 Review URL: https://codereview.chromium.org/532973002 Cr-Commit-Position: refs/heads/master@{#293203}
* Revert of [fsp] Enable the File System Provider API for extensions. ↵andresantoso2014-09-032-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #2 id:20001 of https://codereview.chromium.org/527663002/) Reason for revert: Speculative revert, failed ChromiumOS browser_tests. [1422/1422] FileSystemProviderApiTest.Extension (11555 ms) 1 test failed: FileSystemProviderApiTest.Extension http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%282%29/builds/11812 Original issue's description: > [fsp] Enable the File System Provider API for extensions. > > Previously, only apps were allowed to use this api, however most clients will > be actually written as extensions. > > TEST=browser_tests: *FileSystemProvider*Extension* > BUG=409487 > > Committed: https://chromium.googlesource.com/chromium/src/+/4acb869459901c6fa627473bb15b8a0f6190cc11 TBR=benwells@chromium.org,kalman@chromium.org,mtomasz@chromium.org NOTREECHECKS=true NOTRY=true BUG=409487 Review URL: https://codereview.chromium.org/537603002 Cr-Commit-Position: refs/heads/master@{#293148}
* [fsp] Cleanup IDL.mtomasz2014-09-031-9/+110
| | | | | | | | | | | This CL adds descriptions to dictionaries. TEST=Tested manually with a test server. BUG=248427 Review URL: https://codereview.chromium.org/527723002 Cr-Commit-Position: refs/heads/master@{#293121}
* [fsp] Enable the File System Provider API for extensions.mtomasz2014-09-032-1/+2
| | | | | | | | | | | | Previously, only apps were allowed to use this api, however most clients will be actually written as extensions. TEST=browser_tests: *FileSystemProvider*Extension* BUG=409487 Review URL: https://codereview.chromium.org/527663002 Cr-Commit-Position: refs/heads/master@{#293100}
* [fsp] Remove length from the OnWriteFileOperation().mtomasz2014-09-031-1/+0
| | | | | | | | | | | | | The length is already available as data.byteLength, where data is of the ArrayBuffer type. TBR=benwells@chromium.org TEST=browser_tests, unit_tests: *FileSystemProvider*Write* BUG=248427 Review URL: https://codereview.chromium.org/530373002 Cr-Commit-Position: refs/heads/master@{#293093}
* [fsp] Enable the File System Provider API on the dev channel.mtomasz2014-09-031-1/+1
| | | | | | | | | | | | The read-only version is pretty much done, so we should let developers use it on the dev channel for initial feedback. TEST=browser_tests: *FileSystemProvider* BUG=248427 Review URL: https://codereview.chromium.org/531463002 Cr-Commit-Position: refs/heads/master@{#293063}
* Docserver: Add extensionTypes to _api_features.jsonahernandez.miralles2014-09-031-0/+7
| | | | | | Review URL: https://codereview.chromium.org/531973003 Cr-Commit-Position: refs/heads/master@{#293051}
* Remove windows.onCreated hack from Keep Awake extension.derat2014-09-032-6/+1
| | | | | | | | | | | | | | | | | The example extension for the chrome.power API registered a listener for windows.onCreated to work around an issue where runtime.onStartup didn't fire on Chrome OS. The underlying Chrome bug has been fixed now, so the windows.onCreated workaround is no longer needed. BUG=222473 TEST=install the extension on Chrome OS and check that /var/log/power_manager/powerd.LATEST reports an extension-driven policy change when logging in Review URL: https://codereview.chromium.org/531953002 Cr-Commit-Position: refs/heads/master@{#293043}
* Move kWebstoreAppId constant to//extensions.hanxi2014-09-025-8/+7
| | | | | | | | BUG=352293 Review URL: https://codereview.chromium.org/515563003 Cr-Commit-Position: refs/heads/master@{#293016}
* Add ability to pass decryption key id to CreateSecureMessage methodtbarzic2014-09-021-1/+5
| | | | | | | | | | | | | This should enable the message receiver to identify a key to be used for message decryption. BUG=409099 (depends on https://codereview.chromium.org/513013003/) Review URL: https://codereview.chromium.org/518643002 Cr-Commit-Position: refs/heads/master@{#293006}
* Docserver: Add @Cache annotation to CompiledFileSystemahernandez.miralles2014-09-026-25/+57
| | | | | | | | | | | | This is the first in a series of CLs intended to reduce the amount of caching in docserver code. The @Cache annotation is used to indicate that compiled data should be cached in CompiledFileSystem. NOTRY=True Review URL: https://codereview.chromium.org/521693003 Cr-Commit-Position: refs/heads/master@{#292994}
* Fix reference to apps/manifest/bluetooth APIahernandez.miralles2014-09-021-1/+1
| | | | | | | | NOTRY=True Review URL: https://codereview.chromium.org/509253003 Cr-Commit-Position: refs/heads/master@{#292987}
* Fix the Copresence permission.rkc2014-09-022-2/+1
| | | | | | | | | | | | | | The initializer for the Copresence permission is malformed. It specifies the message id instead of the flag. R=kalman@chromium.org BUG=408843 Committed to pending queue: https://chromium.googlesource.com/chromium/src/+/c2a41e8 Review URL: https://codereview.chromium.org/523433002 Cr-Commit-Position: refs/heads/master@{#292952}
* [fsp] Remove the exclusive field from the CreateDirectory operation.mtomasz2014-09-011-5/+4
| | | | | | | | | | | | | | Analogically to CreateFile, we should just return an EXISTS error code if the entry already exists. The EXISTS error code is later converted to OK if the operation was requested to be not 'exclusive'. TBR=benwells@chromium.org TEST=browser_tests, unit_tests: *FileSystemProvider*CreateDirectory* BUG=393141 Review URL: https://codereview.chromium.org/528683002 Cr-Commit-Position: refs/heads/master@{#292873}
* Remove "Move window to..." from gear menu.fukino2014-09-011-7/+0
| | | | | | | | | | | | | | | | This CL removes: - "Move window to..." menu item from the gear menu. - Remove APIs fileBrowserPrivate.onProfileAdded and fileBrowserPrivate.onDesktopChanged as they are used only for updating gear menu. - Remove corresponding tests. BUG=408965 TEST=run browser_test, unit_tests TBR=benwells@chromium.org # TBRing for just removing unused events from file_browser_private.idl Review URL: https://codereview.chromium.org/530553006 Cr-Commit-Position: refs/heads/master@{#292860}
* [fsp] Generalize fileBrowserPrivate.getEntryProperties().mtomasz2014-09-011-9/+10
| | | | | | | | | | | | | This patch makes the method providing additional metadata for entries available for provided file systems too. NOTRY=True TEST=Tested manually. Files app works as before. BUG=408017 Review URL: https://codereview.chromium.org/515033002 Cr-Commit-Position: refs/heads/master@{#292851}
* [fsp] Remove the unused streaming field.mtomasz2014-09-011-0/+6
| | | | | | | | | | | | The field is not used, so it should be removed. NOTRY=True TEST=Tested manually that Files app works correctly. BUG=408017 Review URL: https://codereview.chromium.org/522533003 Cr-Commit-Position: refs/heads/master@{#292846}
* [fsp] Add support for providing thumbnails.mtomasz2014-09-011-1/+9
| | | | | | | | | | | | | | | | | | | | Previously, thumbnails were generated from full size images, which in case of cloud providers would invoke downloading the entire file. This CL adds an ability to provide a thumbnail as a data URI, so: (1) We can have thumbnails for other file types than images. (2) Thumbnails are shown fast. (3) Resource consumption is significantly reduced. Note, that the thumbnails are not wired to Files app yet. That will be done in a separate patch. TEST=unit_tests: *FileSystemProvider*GetMetadata* BUG=407954 Review URL: https://codereview.chromium.org/513683002 Cr-Commit-Position: refs/heads/master@{#292840}
* Remove Files.app's own profile badge.fukino2014-09-011-3/+0
| | | | | | | | | | | Now that the Files.app uses default system header, the own profile badge is redundant. BUG=408816 TEST=confirmed manually, ran browser_tests Review URL: https://codereview.chromium.org/520623002 Cr-Commit-Position: refs/heads/master@{#292827}
* Docserver: Rename CompiledFileSystem's GetFileVersion/GetFileListingVersion tokalman2014-08-306-39/+41
| | | | | | | | | | | | | | | | _GetFileVersionFromCache/_GetFileListingVersionFromCache, because they're protected not public methods. More importantly, make them return Futures. Plus a little more cleanup. These are small changes in preparation to the more interesting patch which addresses bug 402903. BUG=402903 TBR=yoz@chromium.org Review URL: https://codereview.chromium.org/522183002 Cr-Commit-Position: refs/heads/master@{#292797}
* Remove implicit conversion from scoped_refptr to T*meacer2014-08-301-1/+1
| | | | | | | | BUG=404334 Review URL: https://codereview.chromium.org/522053002 Cr-Commit-Position: refs/heads/master@{#292757}
* Extensions: Move bluetooth APIs to extensions/.thestig2014-08-2914-1480/+1
| | | | | | | | | BUG=395240 TBR=keybuk@chromium.org Review URL: https://codereview.chromium.org/420663003 Cr-Commit-Position: refs/heads/master@{#292719}
* Docserver: Override Walk in CachingFileSystemahernandez.miralles2014-08-295-27/+102
| | | | | | | | NOTRY=True Review URL: https://codereview.chromium.org/521453003 Cr-Commit-Position: refs/heads/master@{#292708}
* Pass credentials for WifiManager in Windows.noamsml2014-08-291-9/+8
| | | | | | | | BUG=370071 Review URL: https://codereview.chromium.org/343053002 Cr-Commit-Position: refs/heads/master@{#292700}
* Add getSelf method to management API to use without the "management" permission.dhnishi2014-08-293-2/+25
| | | | | | | | BUG=392215 Review URL: https://codereview.chromium.org/508263003 Cr-Commit-Position: refs/heads/master@{#292660}
* Move guest_view_internal_api to extensions.hanxi2014-08-292-87/+0
| | | | | | | | BUG=352293 Review URL: https://codereview.chromium.org/494853004 Cr-Commit-Position: refs/heads/master@{#292640}
* - Add support for references in different paths in apis.lfg2014-08-297-22/+22
| | | | | | | | | | - Move ImageDetails from chrome to extensions. BUG=352290 Review URL: https://codereview.chromium.org/487533005 Cr-Commit-Position: refs/heads/master@{#292567}
* Revert SetShape to dev channel or whitelist.wez2014-08-291-4/+50
| | | | | | | | BUG=324071,374440,408737 Review URL: https://codereview.chromium.org/522463002 Cr-Commit-Position: refs/heads/master@{#292562}
* Remove cevans@ from OWNERS files.thestig2014-08-291-1/+0
| | | | | | | | NOTRY=true Review URL: https://codereview.chromium.org/524433003 Cr-Commit-Position: refs/heads/master@{#292549}
* Add a separate warning message for topSites permission.meacer2014-08-293-10/+38
| | | | | | | | | | | | The current warning is the generic "Read your browsing history" warning. The new warning for topSites will be suppressed by read only and read/write history warnings, and all hosts warning. BUG=404334 Review URL: https://codereview.chromium.org/482953003 Cr-Commit-Position: refs/heads/master@{#292545}
* Revert of Fix the Copresence permission. (patchset #1 of ↵hclam2014-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/523433002/) Reason for revert: This change causes a test failure: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/48008/steps/unit_tests/logs/stdio Error: [ RUN ] PermissionsTest.PermissionMessages ../../chrome/common/extensions/permissions/permission_set_unittest.cc:781: Failure Value of: permission_info->message_id() Actual: 65 Expected: PermissionMessage::kNone Which is: 1 unexpected message_id for copresence Looks like this change is the cause. Original issue's description: > Fix the Copresence permission. > > The initializer for the Copresence permission is malformed. It specifies the > message id instead of the flag. > > R=kalman@chromium.org > BUG=408843 > > Committed to pending queue: https://chromium.googlesource.com/chromium/src/+/c2a41e8 TBR=kalman@chromium.org,rkc@chromium.org NOTREECHECKS=true NOTRY=true BUG=408843 Review URL: https://codereview.chromium.org/520493002 Cr-Commit-Position: refs/heads/master@{#292532}
* Add jorgelo@ to all the chrome/common OWNERS files with IPC messages owners.thestig2014-08-291-0/+1
| | | | | | | | NOTRY=true Review URL: https://codereview.chromium.org/522483002 Cr-Commit-Position: refs/heads/master@{#292519}
* Fix the Copresence permission.Rahul Chaturvedi2014-08-281-1/+1
| | | | | | | | | | | | The initializer for the Copresence permission is malformed. It specifies the message id instead of the flag. R=kalman@chromium.org BUG=None. Review URL: https://codereview.chromium.org/523433002 Cr-Commit-Position: refs/heads/master@{#292495}
* Documentation updates for chrome.tabCapture.mfoltz2014-08-281-5/+10
| | | | | | | | BUG=338449 Review URL: https://codereview.chromium.org/503503003 Cr-Commit-Position: refs/heads/master@{#292474}
* Cleanup: Remove misc unneeded grit includes.thestig2014-08-281-1/+0
| | | | | | Review URL: https://codereview.chromium.org/512663002 Cr-Commit-Position: refs/heads/master@{#292448}
* Removed unnecessary apps from logPrivate API whitelist.zelidrag2014-08-281-2/+0
| | | | | | | | | | BUG=408429 TEST=none TBR=miket Review URL: https://codereview.chromium.org/515313002 Cr-Commit-Position: refs/heads/master@{#292444}
* Move ExtensionWarningService and ExtensionsWarningSet, which are used by ↵hanxi2014-08-282-0/+6
| | | | | | | | | | | | | | webrequest api, to extensions. This cl resolve the dependencies of ExtensionsWarningSet of chrome strings: - move the declarations of IDS_EXTENSION_WARNINGS_XXX to extensions_strings.grd; - replace the usage of "IDS_PRODUCT_NAME" by creating GetProductName() function in ExtensionsClient and its subclasses. BUG=352293 Review URL: https://codereview.chromium.org/503033002 Cr-Commit-Position: refs/heads/master@{#292378}
* Adds a skeleton component app for Always-On Hotwording opt-in flow.kcarattini2014-08-282-0/+5
| | | | | | | | BUG=390086 Review URL: https://codereview.chromium.org/467113004 Cr-Commit-Position: refs/heads/master@{#292338}
* Make table text the same size as body text. Add styles to support table ↵jmedley2014-08-282-1/+13
| | | | | | | | | | | | | | reformatting. BUG=none R= mkearney@chromium.org, smain@chromium.org, binji@chromium.org, binji@google.com, kalman@chromium.org TEST=none NOTRY=true (documentation only change) Review URL: https://codereview.chromium.org/483163002 Cr-Commit-Position: refs/heads/master@{#292305}
* Expose gallery watching functionality to the public mediaGalleries API.orenb2014-08-271-0/+23
| | | | | | | | BUG=144491 Review URL: https://codereview.chromium.org/440813002 Cr-Commit-Position: refs/heads/master@{#292271}
* Added app hashes for API access.mednik2014-08-271-5/+9
| | | | | | | | BUG=408276 Review URL: https://codereview.chromium.org/513973002 Cr-Commit-Position: refs/heads/master@{#292254}
* Update old syntax for action default_icon to populate 19 and 38px iconsgpdavis.chromium2014-08-274-7/+11
| | | | | | | | BUG=404572 Review URL: https://codereview.chromium.org/508783002 Cr-Commit-Position: refs/heads/master@{#292236}
* Remove ledger code from Chrome.Rahul Chaturvedi2014-08-276-34/+0
| | | | | | | | | | | Since the code from the ledger* internal repos has now been open-sourced, we should get rid of this code from Chrome. R=isherman@chromium.org, kalman@chromium.org, thakis@chromium.org BUG=None. Review URL: https://codereview.chromium.org/510893003 Cr-Commit-Position: refs/heads/master@{#292231}
* Make gn deps for extensions API registration consistent with gyp dependencies.yoz2014-08-271-0/+1
| | | | | | | | BUG=405226 Review URL: https://codereview.chromium.org/509143002 Cr-Commit-Position: refs/heads/master@{#292230}
* Model <webview> and <appview> script injection after <extensionoptions>fsamuel2014-08-271-0/+18
| | | | | | | | BUG=407833 Review URL: https://codereview.chromium.org/512543002 Cr-Commit-Position: refs/heads/master@{#292224}
* Docserver: Generate a table of extension/app API ownersahernandez.miralles2014-08-2711-48/+459
| | | | | | | | | BUG=400760 NOTRY=True Review URL: https://codereview.chromium.org/453713002 Cr-Commit-Position: refs/heads/master@{#292223}
* Docserver: Add more skip_not_found support and cache "not found"sahernandez.miralles2014-08-279-42/+100
| | | | | | | | | BUG=305280 NOTRY=True Review URL: https://codereview.chromium.org/512453002 Cr-Commit-Position: refs/heads/master@{#292212}
* Remove service worker concepts from apps/extensions manifest parsing.scheib2014-08-273-138/+0
| | | | | | | | BUG=396340 Review URL: https://codereview.chromium.org/447783003 Cr-Commit-Position: refs/heads/master@{#292187}
* Whitelist the internal hotrod apps.xiyuan2014-08-272-9/+45
| | | | | | | | BUG=407693 Review URL: https://codereview.chromium.org/508743002 Cr-Commit-Position: refs/heads/master@{#292185}