diff options
author | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 19:49:35 +0000 |
---|---|---|
committer | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 19:49:35 +0000 |
commit | 91240c947358b33cc19c0923a06d116ab36737dd (patch) | |
tree | 7897c99ad9b41d7735c7a42e0ea75fe6f76760b3 /o3d/import/cross/targz_processor.h | |
parent | 2e25a9f4152a90a179ad37206bff79e1198379d7 (diff) | |
download | chromium_src-91240c947358b33cc19c0923a06d116ab36737dd.zip chromium_src-91240c947358b33cc19c0923a06d116ab36737dd.tar.gz chromium_src-91240c947358b33cc19c0923a06d116ab36737dd.tar.bz2 |
Asynchronous tick now uses NPN_PluginAsyncCall.URL streaming callbacks are now also asynchronous.Implemented NPN_PluginAsyncCall for IE.Allowed WM_PAINT handler to be reentered because it no longer calls into the browser (except to schedule an asynchronous tick if none is pending).Fixed a bug where the EventManager would crash if an event callback called cleanUp on the client.Cleanup destroys all the packs. Doing this in NPP_Destroy seems to make Chrome timeout and fail to load the next page.Tar and GZ decoding happens on a new thread.
Review URL: http://codereview.chromium.org/155733
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/import/cross/targz_processor.h')
-rw-r--r-- | o3d/import/cross/targz_processor.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/o3d/import/cross/targz_processor.h b/o3d/import/cross/targz_processor.h index ef83278..061d66e 100644 --- a/o3d/import/cross/targz_processor.h +++ b/o3d/import/cross/targz_processor.h @@ -46,12 +46,14 @@ namespace o3d { // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -class TarGzProcessor : public ArchiveProcessor { +class TarGzProcessor : public ArchiveProcessor { public: explicit TarGzProcessor(ArchiveCallbackClient *callback_client); - virtual int ProcessCompressedBytes(MemoryReadStream *stream, - size_t bytes_to_process); + virtual Status ProcessBytes(MemoryReadStream *stream, + size_t bytes_to_process); + + virtual void Close(bool success); private: TarProcessor tar_processor_; |