summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_resource/json_asynchronous_unpacker.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove EnableZygote API.jorgelo@chromium.org2013-11-051-1/+0
| | | | | | | | | | | | | EnableZygote exposes an implementation detail. The utility process already has a DisableSandbox method, and a SetExposedDir method that we can use to disable the zygote. BUG=None TEST=browser_tests, launch Chrome and install an extension. Review URL: https://codereview.chromium.org/55133005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232906 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of single process code path in json_asynchronous_unpacker.cc. Single ↵jam@chromium.org2013-07-151-25/+7
| | | | | | | | | | | | | process mode now works automatically. Since web_resource_unpacker is only used in chrome/utility now, move it there. BUG=19192 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/19224002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211672 0039d316-1c4b-4281-b951-d872f2087c98
* Call scoped_refptr<T>::get() rather than relying on implicit "operator T*"rsleevi@chromium.org2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | | This upates calls to bound temporary objects to also use get(). While it has the same semantic equivalence to the existing code, this generally represents a dangerous pattern - indeed, part of the whole motivation for this change is to make this anti-pattern very visible to authors. This change simply updates all of the call sites, to allow the "operator T*" to be removed and preventing new instances. The existing instances will then be reviewed for "suspicious" changes and updated to use/pass scoped_refptr<T> rather than T*, as appropriate. BUG=110610 TBR=darin Review URL: https://codereview.chromium.org/15984016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205560 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition.rsleevi@chromium.org2013-02-071-1/+1
| | | | | | | | | | | Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://codereview.chromium.org/12212048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181164 0039d316-1c4b-4281-b951-d872f2087c98
* Moved extension installation from FILE thread. CrxInstaller and friends are ↵zelidrag@chromium.org2012-11-151-1/+2
| | | | | | | | | | | now using their own sequenced task runner instead. BUG=160183 TEST=SandboxedUnpackerTest.*, ExtensionInstallUIBrowserTest.* Review URL: https://codereview.chromium.org/11369146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167991 0039d316-1c4b-4281-b951-d872f2087c98
* Extracted inner class doing process dispatch.noyau@chromium.org2012-07-091-0/+124
The inner class WebResourceService::UnpackerClient is dispatching a json parsing job to a subprocess. In iOS launching a subprocess is not supported. In order to replace this class on this particular platform by one doing a thread dispatch the class has been renamed and refactored in its own file. In doing so an abstract superclass was crated to make the API more obvious. The iOS subclass already exists in the iOS tree, and will be brought up with the rest of the iOS browser changes. BUG=b/6753678 TEST=No user visible changes. Review URL: https://chromiumcodereview.appspot.com/10690096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145689 0039d316-1c4b-4281-b951-d872f2087c98