Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Issue 931993002: Make image_decoder a Leaky LazyInstance (Closed)

Created:
5 years, 10 months ago by Theresa
Modified:
5 years, 9 months ago
CC:
chromium-reviews, Ian Wen, not at google - send to devlin, noyau+watch_chromium.org, Marc Treib
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

image_decoder has been refactored into a Leaky (accessible from multiple threads) LazyInstance (singleton), that uses one utility process running in batch mode to decode all images. This CL fixes a performance problem with scrolling in bookmarks on Android. Previously we were using a new image_decoder and therefore a new utility process for each image we wanted to decode. Now we use one shared image_decoder that has one utility process running in batch mode for decoding all images. BUG=451201 Committed: https://crrev.com/a71414d3412695691b873508377ae67854062fd4 Cr-Commit-Position: refs/heads/master@{#322383}

Patch Set 1 #

Patch Set 2 : Minor tweaks #

Patch Set 3 : Fix build issues #

Patch Set 4 : Fix a couple more build issues #

Total comments: 1

Patch Set 5 : Merge bitmap_batch_fetcher/image_batch_decoder into regular versions, make bitmap_fetcher a singletā€¦ #

Patch Set 6 : Fix build errors, use LazyInstance for bitmap_fetcher #

Patch Set 7 : Fix more build issues #

Patch Set 8 : #

Patch Set 9 : Fixes for failing unit tests #

Patch Set 10 : Try to fix memory leak #

Patch Set 11 : Fix memory leak try 2 #

Patch Set 12 : Make image_decoder a singleton, revert bitmap_fetcher refactor #

Patch Set 13 : Fix some compile errors #

Patch Set 14 : Fix some more compile errors #

Patch Set 15 : #

Patch Set 16 : Introduce refcounted ImageDecoderImpl that extends UtilityProcessHostClient #

Patch Set 17 : Fix non-private destructor error, code clean up #

Patch Set 18 : Rename instance_ to image_decoder_instance_ for mac linker #

Total comments: 39

Patch Set 19 : Changes from dcheng@ review #

Patch Set 20 : Remove default parameter from image_decoder.h #

Patch Set 21 : #

Patch Set 22 : delete request_info in onImageDecode methods #

Patch Set 23 : Fix user_image_loader compilation problem #

Patch Set 24 : Add missing constructor for UserImageLoader::ImageInfo #

Patch Set 25 : Revert changes to chrome_browser.gypi #

Patch Set 26 : Try adding back string heap allocation in user_image_loader.cc #

Patch Set 27 : Fix user_image_loader #

Total comments: 17

Patch Set 28 : Use IDMap/RepeaterTimer, some other changes from dcheng review #

Patch Set 29 : Refactor webstore_install_helper to use ImageDecoder, remove DecodeBase64 support #

Total comments: 4

Patch Set 30 : Small changes based on review from Antony #

Total comments: 2

Patch Set 31 : Add ImageDecoder->RemoveDelegate #

Total comments: 16

Patch Set 32 : Store task_runner_ in ImageDecoder::Delegate; add helper class to user_image_loader; remove ImageDeā€¦ #

Patch Set 33 : Fix inlined complex constructor/destructor #

Total comments: 6

Patch Set 34 : Delete user_image_loader's ImageRequest in OnImageDecoded/OnDecodeImageFailed #

Patch Set 35 : Get rid of IDMap #

Total comments: 54

Patch Set 36 : Changes from last dcheng@ review #

Patch Set 37 : git cl format #

Total comments: 2

Patch Set 38 : Get rid of ImageDecoderImpl #

Total comments: 8

Patch Set 39 : Small changes from last review #

Total comments: 32

Patch Set 40 : Changes from thestig@ review #

Total comments: 2

Patch Set 41 : Fix a few comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -446 lines) Patch
M chrome/browser/android/logo_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 2 chunks +10 lines, -20 lines 0 comments Download
M chrome/browser/apps/drive/drive_app_converter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 2 chunks +9 lines, -17 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 3 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 5 chunks +28 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_function_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 4 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_image_screen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_image_screen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 4 chunks +6 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 3 chunks +5 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/login/users/avatar/user_image_loader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 5 chunks +20 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/login/users/avatar/user_image_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 3 chunks +31 lines, -36 lines 0 comments Download
M chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 2 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/extensions/bundle_installer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/webstore_install_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 6 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/extensions/webstore_install_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 4 chunks +11 lines, -34 lines 0 comments Download
M chrome/browser/extensions/webstore_standalone_installer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/image_decoder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 chunks +83 lines, -34 lines 0 comments Download
M chrome/browser/image_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 2 chunks +142 lines, -42 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/supported_image_type_validator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 3 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/profiles/profile_downloader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_downloader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/search/common/url_icon_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/app_list/search/common/url_icon_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 4 chunks +11 lines, -17 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 6 chunks +8 lines, -18 lines 0 comments Download
M chrome/common/chrome_utility_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 2 chunks +11 lines, -7 lines 0 comments Download
M chrome/common/extensions/chrome_utility_extensions_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 2 chunks +16 lines, -9 lines 0 comments Download
M chrome/utility/extensions/extensions_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +0 lines, -1 line 0 comments Download
M chrome/utility/extensions/extensions_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +0 lines, -18 lines 0 comments Download

Messages

Total messages: 84 (6 generated)
Theresa
kkimlabs@ - for enhanced_bookmarks/overall review thakis@ - for changes in chrome/browser and chrome/browser/bitmap_fetcher dcheng@ - ...
5 years, 10 months ago (2015-02-17 23:38:24 UTC) #2
Kibeom Kim (inactive)
I'm not familiar with utility process and have a couple of high-level questions: - Why ...
5 years, 10 months ago (2015-02-18 16:53:27 UTC) #3
dcheng
Apparently, UtilityProcessHost has something called "batch mode" (see UtilityProcessHost::StartBatchMode and UtilityProcessHost::EndBatchMode). Maybe we can use ...
5 years, 10 months ago (2015-02-18 17:43:34 UTC) #4
dcheng
(And I should have lookde at the CL first. Ignore me!)
5 years, 10 months ago (2015-02-18 17:43:49 UTC) #5
Theresa
Utility processes can be associated with a UtilityProcessHostClient. If supplied, the client will be notified ...
5 years, 10 months ago (2015-02-18 18:05:04 UTC) #6
Kibeom Kim (inactive)
+jam@ for UtilityProcessHost usage.
5 years, 10 months ago (2015-02-18 18:23:19 UTC) #8
Nico
https://codereview.chromium.org/931993002/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h File chrome/browser/bitmap_fetcher/bitmap_fetcher.h (right): https://codereview.chromium.org/931993002/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h#newcode27 chrome/browser/bitmap_fetcher/bitmap_fetcher.h:27: // BitmapBatchFetcher instead. To me, it seems like a ...
5 years, 10 months ago (2015-02-18 20:59:17 UTC) #9
jam
On 2015/02/18 18:05:04, twellington wrote: > Utility processes can be associated with a UtilityProcessHostClient. If ...
5 years, 10 months ago (2015-02-18 21:21:22 UTC) #10
Theresa
On 2015/02/18 20:59:17, Nico wrote: > https://codereview.chromium.org/931993002/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h > File chrome/browser/bitmap_fetcher/bitmap_fetcher.h (right): > > https://codereview.chromium.org/931993002/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h#newcode27 > ...
5 years, 10 months ago (2015-02-18 21:26:34 UTC) #11
Theresa
On 2015/02/18 21:21:22, jam wrote: > On 2015/02/18 18:05:04, twellington wrote: > > Utility processes ...
5 years, 10 months ago (2015-02-18 21:33:36 UTC) #12
Theresa
ping, jam@ - can you please advice on how "short lived" utility processes should be?
5 years, 10 months ago (2015-02-20 01:33:43 UTC) #13
Nico
On 2015/02/20 01:33:43, twellington wrote: > ping, jam@ - can you please advice on how ...
5 years, 10 months ago (2015-02-20 17:04:11 UTC) #14
Theresa
On 2015/02/20 17:04:11, Nico wrote: > On 2015/02/20 01:33:43, twellington wrote: > > ping, jam@ ...
5 years, 10 months ago (2015-02-20 21:14:15 UTC) #15
Nico
On 2015/02/20 21:14:15, twellington wrote: > On 2015/02/20 17:04:11, Nico wrote: > > On 2015/02/20 ...
5 years, 10 months ago (2015-02-20 21:16:00 UTC) #16
jam
On 2015/02/20 21:14:15, twellington wrote: > On 2015/02/20 17:04:11, Nico wrote: > > On 2015/02/20 ...
5 years, 10 months ago (2015-02-20 21:30:15 UTC) #17
Peter Kasting
* Are there other places in our codebase using utility processes besides the bitmap fetcher? ...
5 years, 10 months ago (2015-02-23 22:03:33 UTC) #18
Theresa
On 2015/02/23 22:03:33, Peter Kasting wrote: > * Are there other places in our codebase ...
5 years, 10 months ago (2015-02-23 22:32:18 UTC) #19
Peter Kasting
On 2015/02/23 22:32:18, twellington wrote: > On 2015/02/23 22:03:33, Peter Kasting wrote: > > * ...
5 years, 10 months ago (2015-02-23 22:52:06 UTC) #20
Theresa
On 2015/02/23 22:52:06, Peter Kasting wrote: > On 2015/02/23 22:32:18, twellington wrote: > > On ...
5 years, 10 months ago (2015-02-23 23:38:29 UTC) #21
Theresa
I have the bitmap_fetcher refactored into a singleton - I used LazyInstance so that it's ...
5 years, 10 months ago (2015-02-24 17:35:10 UTC) #22
Peter Kasting
On 2015/02/24 17:35:10, twellington wrote: > I have the bitmap_fetcher refactored into a singleton - ...
5 years, 10 months ago (2015-02-25 06:42:18 UTC) #23
Theresa
On 2015/02/25 06:42:18, Peter Kasting wrote: > I don't know these classes well enough to ...
5 years, 10 months ago (2015-02-25 19:45:07 UTC) #24
Peter Kasting
On 2015/02/25 19:45:07, twellington wrote: > Currently image_decoder is constructing the utility_process_host using the > ...
5 years, 10 months ago (2015-02-25 21:30:22 UTC) #25
Theresa
On 2015/02/25 21:30:22, Peter Kasting wrote: > That sounds like it could work. It also ...
5 years, 10 months ago (2015-02-26 00:29:01 UTC) #26
Theresa
PTAL (... 18 patch sets later, sorry if I've been spamming you guys at all) ...
5 years, 9 months ago (2015-02-27 03:42:52 UTC) #27
Peter Kasting
On 2015/02/27 03:42:52, twellington wrote: > PTAL > (... 18 patch sets later, sorry if ...
5 years, 9 months ago (2015-02-27 04:59:46 UTC) #28
dcheng
Some high (and not so high)-level thoughts. https://codereview.chromium.org/931993002/diff/340001/chrome/browser/chromeos/login/users/avatar/user_image_loader.cc File chrome/browser/chromeos/login/users/avatar/user_image_loader.cc (right): https://codereview.chromium.org/931993002/diff/340001/chrome/browser/chromeos/login/users/avatar/user_image_loader.cc#newcode69 chrome/browser/chromeos/login/users/avatar/user_image_loader.cc:69: scoped_ptr<std::string> data(new ...
5 years, 9 months ago (2015-02-27 16:47:18 UTC) #29
Ian Wen
5 years, 9 months ago (2015-03-03 21:33:23 UTC) #30
Theresa
I'm still debugging a few test failures in chromeos, either fixed or responded to all ...
5 years, 9 months ago (2015-03-04 03:10:07 UTC) #31
Theresa
ptal fixed failing tests https://codereview.chromium.org/931993002/diff/340001/chrome/browser/image_decoder.cc File chrome/browser/image_decoder.cc (right): https://codereview.chromium.org/931993002/diff/340001/chrome/browser/image_decoder.cc#newcode123 chrome/browser/image_decoder.cc:123: if ((time(0) - last_request_) < ...
5 years, 9 months ago (2015-03-05 16:53:05 UTC) #32
Theresa
ping
5 years, 9 months ago (2015-03-10 14:14:48 UTC) #33
dcheng
I'm in transit between NYC and TPE today, but I haven't forgotten about this. Will ...
5 years, 9 months ago (2015-03-10 14:27:02 UTC) #34
dcheng
+kalman to comment on if/how we can simplify the extensions code here. I'm guessing it's ...
5 years, 9 months ago (2015-03-10 15:49:12 UTC) #35
not at google - send to devlin
Antony are you familiar with dcheng's last comment?
5 years, 9 months ago (2015-03-10 18:02:06 UTC) #37
asargent_no_longer_on_chrome
On 2015/03/10 18:02:06, kalman wrote: > Antony are you familiar with dcheng's last comment? I ...
5 years, 9 months ago (2015-03-10 19:40:42 UTC) #38
dcheng
ImageDecoder is this API. The problem is the extension install helper bypasses it. On Tue, ...
5 years, 9 months ago (2015-03-10 19:49:31 UTC) #39
asargent_no_longer_on_chrome
On 2015/03/10 19:49:31, dcheng wrote: > ImageDecoder is this API. The problem is the extension ...
5 years, 9 months ago (2015-03-10 20:01:31 UTC) #40
Theresa
On 2015/03/10 20:01:31, Antony Sargent wrote: > On 2015/03/10 19:49:31, dcheng wrote: > > ImageDecoder ...
5 years, 9 months ago (2015-03-10 23:30:14 UTC) #41
asargent_no_longer_on_chrome
On 2015/03/10 23:30:14, twellington wrote: > On 2015/03/10 20:01:31, Antony Sargent wrote: > > On ...
5 years, 9 months ago (2015-03-10 23:50:44 UTC) #42
Theresa
ptal tl;dr: Now using IDMap and RepeaterTimer; also moved all of the work in image_decoder ...
5 years, 9 months ago (2015-03-10 23:50:54 UTC) #43
Theresa
On 2015/03/10 23:50:44, Antony Sargent wrote: > If I recall correctly, that private API is ...
5 years, 9 months ago (2015-03-10 23:55:49 UTC) #44
dcheng
For the crash, you could try using ASAN: http://www.chromium.org/developers/testing/addresssanitizer#TOC-Building-on-Android The recounted assert is to make ...
5 years, 9 months ago (2015-03-10 23:55:52 UTC) #45
asargent_no_longer_on_chrome
On 2015/03/10 23:55:49, twellington wrote: > On 2015/03/10 23:50:44, Antony Sargent wrote: > > If ...
5 years, 9 months ago (2015-03-11 23:48:01 UTC) #46
Theresa
On 2015/03/11 23:48:01, Antony Sargent wrote: > On 2015/03/10 23:55:49, twellington wrote: > > On ...
5 years, 9 months ago (2015-03-12 00:33:55 UTC) #47
Theresa
https://codereview.chromium.org/931993002/diff/520001/chrome/browser/image_decoder.cc File chrome/browser/image_decoder.cc (right): https://codereview.chromium.org/931993002/diff/520001/chrome/browser/image_decoder.cc#newcode153 chrome/browser/image_decoder.cc:153: this, decoded_image, request_info->delegate)); On 2015/03/10 23:50:54, twellington wrote: > ...
5 years, 9 months ago (2015-03-12 00:36:32 UTC) #48
Theresa
On 2015/03/12 00:33:55, twellington wrote: > My latest patchset actually removes the base64 support and ...
5 years, 9 months ago (2015-03-12 18:39:28 UTC) #49
asargent_no_longer_on_chrome
extensions parts lgtm w/ one suggested improvement to save a copy or two and one ...
5 years, 9 months ago (2015-03-12 21:40:08 UTC) #50
Theresa
Antony - ptal; I diverted a little bit from the suggested improvement https://codereview.chromium.org/931993002/diff/560001/chrome/browser/extensions/webstore_install_helper.cc File chrome/browser/extensions/webstore_install_helper.cc ...
5 years, 9 months ago (2015-03-12 22:19:10 UTC) #51
asargent_no_longer_on_chrome
On 2015/03/12 22:19:10, twellington wrote: > Antony - ptal; I diverted a little bit from ...
5 years, 9 months ago (2015-03-12 22:40:44 UTC) #52
dcheng
On 2015/03/12 at 22:40:44, asargent wrote: > On 2015/03/12 22:19:10, twellington wrote: > > Antony ...
5 years, 9 months ago (2015-03-13 14:20:41 UTC) #53
dcheng
I haven't reviewed the patch in its entirety, but we definitely need to solve the ...
5 years, 9 months ago (2015-03-13 14:55:11 UTC) #54
Theresa
I'll work on a cancellation mechanism and ping again when it's ready for review. I ...
5 years, 9 months ago (2015-03-13 15:22:16 UTC) #55
dcheng
We probably shouldn't use WeakPtrs as the cancelation mechanism, since they aren't thread safe, and ...
5 years, 9 months ago (2015-03-13 15:30:31 UTC) #56
Theresa
On 2015/03/13 15:30:31, dcheng wrote: > We probably shouldn't use WeakPtrs as the cancelation mechanism, ...
5 years, 9 months ago (2015-03-16 19:51:51 UTC) #57
Theresa
ping
5 years, 9 months ago (2015-03-19 13:44:30 UTC) #58
dcheng
Sorry for suggesting IDMap. Given the nature of this class and the way it has ...
5 years, 9 months ago (2015-03-19 14:25:46 UTC) #59
Theresa
Addressed most of the issues from dcheng@'s last review. I still need to do something ...
5 years, 9 months ago (2015-03-19 21:54:57 UTC) #60
dcheng
Overall, looking good! I didn't have time to review the whole patch, but a few ...
5 years, 9 months ago (2015-03-20 00:14:46 UTC) #61
Theresa
dcheng@ - I have one question in image_decoder.cc about O(1) Cancel, but otherwise addressed all ...
5 years, 9 months ago (2015-03-20 19:09:01 UTC) #62
Theresa
On 2015/03/20 19:09:01, twellington wrote: > dcheng@ - I have one question in image_decoder.cc about ...
5 years, 9 months ago (2015-03-20 22:49:58 UTC) #63
dcheng
https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/app_mode/kiosk_app_data.cc File chrome/browser/chromeos/app_mode/kiosk_app_data.cc (right): https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/app_mode/kiosk_app_data.cc#newcode226 chrome/browser/chromeos/app_mode/kiosk_app_data.cc:226: IconImageRequest(const scoped_refptr<base::SequencedTaskRunner>& t, FWIW, some reviewers might prefer this ...
5 years, 9 months ago (2015-03-23 11:52:10 UTC) #64
Theresa
https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/app_mode/kiosk_app_data.cc File chrome/browser/chromeos/app_mode/kiosk_app_data.cc (right): https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/app_mode/kiosk_app_data.cc#newcode226 chrome/browser/chromeos/app_mode/kiosk_app_data.cc:226: IconImageRequest(const scoped_refptr<base::SequencedTaskRunner>& t, On 2015/03/23 11:52:08, dcheng wrote: > ...
5 years, 9 months ago (2015-03-23 17:33:11 UTC) #65
Theresa
ptal
5 years, 9 months ago (2015-03-23 18:46:37 UTC) #66
dcheng
https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/login/users/avatar/user_image_loader.h File chrome/browser/chromeos/login/users/avatar/user_image_loader.h (right): https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/login/users/avatar/user_image_loader.h#newcode76 chrome/browser/chromeos/login/users/avatar/user_image_loader.h:76: // invoked On 2015/03/23 17:33:09, twellington wrote: > On ...
5 years, 9 months ago (2015-03-24 05:18:19 UTC) #67
Theresa
https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/login/users/avatar/user_image_loader.h File chrome/browser/chromeos/login/users/avatar/user_image_loader.h (right): https://codereview.chromium.org/931993002/diff/680001/chrome/browser/chromeos/login/users/avatar/user_image_loader.h#newcode76 chrome/browser/chromeos/login/users/avatar/user_image_loader.h:76: // invoked On 2015/03/24 05:18:18, dcheng wrote: > On ...
5 years, 9 months ago (2015-03-24 23:51:43 UTC) #68
dcheng
Overall, LGTM with the comments addressed (but you'll need owners approval since I'm not an ...
5 years, 9 months ago (2015-03-25 14:10:10 UTC) #69
Theresa
Addressed comments from dcheng@ review. I didn't change Cancel() to be O(1). I'm leaning toward ...
5 years, 9 months ago (2015-03-25 17:13:45 UTC) #70
Theresa
Adding owners for classes using the refactored ImageDecoder. ptal - ImageDecoder has been significantly refactored, ...
5 years, 9 months ago (2015-03-25 17:20:10 UTC) #72
Elliot Glaysher
profiles lgtm
5 years, 9 months ago (2015-03-25 17:27:20 UTC) #73
xiyuan
browser/apps/, browser/chromeos/app_mode/ browser/chromeos/login/, browser/ui/ LGTM https://codereview.chromium.org/931993002/diff/760001/chrome/browser/chromeos/login/users/avatar/user_image_loader.cc File chrome/browser/chromeos/login/users/avatar/user_image_loader.cc (right): https://codereview.chromium.org/931993002/diff/760001/chrome/browser/chromeos/login/users/avatar/user_image_loader.cc#newcode56 chrome/browser/chromeos/login/users/avatar/user_image_loader.cc:56: } nit: move UserImageLoader::UserImageRequest ...
5 years, 9 months ago (2015-03-25 18:07:28 UTC) #74
Ted C
On 2015/03/25 18:07:28, xiyuan wrote: > browser/apps/, > browser/chromeos/app_mode/ > browser/chromeos/login/, > browser/ui/ > > ...
5 years, 9 months ago (2015-03-25 18:42:22 UTC) #75
Lei Zhang
https://codereview.chromium.org/931993002/diff/760001/chrome/browser/image_decoder.cc File chrome/browser/image_decoder.cc (right): https://codereview.chromium.org/931993002/diff/760001/chrome/browser/image_decoder.cc#newcode16 chrome/browser/image_decoder.cc:16: namespace { nit: add a blank line after this ...
5 years, 9 months ago (2015-03-25 21:44:47 UTC) #76
Theresa
https://codereview.chromium.org/931993002/diff/760001/chrome/browser/chromeos/login/users/avatar/user_image_loader.cc File chrome/browser/chromeos/login/users/avatar/user_image_loader.cc (right): https://codereview.chromium.org/931993002/diff/760001/chrome/browser/chromeos/login/users/avatar/user_image_loader.cc#newcode56 chrome/browser/chromeos/login/users/avatar/user_image_loader.cc:56: } On 2015/03/25 18:07:28, xiyuan wrote: > nit: move ...
5 years, 9 months ago (2015-03-25 23:13:16 UTC) #77
Lei Zhang
lgtm https://codereview.chromium.org/931993002/diff/760001/chrome/browser/image_decoder.h File chrome/browser/image_decoder.h (right): https://codereview.chromium.org/931993002/diff/760001/chrome/browser/image_decoder.h#newcode60 chrome/browser/image_decoder.h:60: // posted back to image_request's task_runner_. On 2015/03/25 ...
5 years, 9 months ago (2015-03-25 23:28:38 UTC) #78
Theresa
Will land in the morning if there are no objections. https://codereview.chromium.org/931993002/diff/760001/chrome/browser/image_decoder.h File chrome/browser/image_decoder.h (right): https://codereview.chromium.org/931993002/diff/760001/chrome/browser/image_decoder.h#newcode60 ...
5 years, 9 months ago (2015-03-25 23:54:09 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/931993002/800001
5 years, 9 months ago (2015-03-26 14:06:43 UTC) #82
commit-bot: I haz the power
Committed patchset #41 (id:800001)
5 years, 9 months ago (2015-03-26 15:10:13 UTC) #83
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 15:10:46 UTC) #84
Message was sent while issue was closed.
Patchset 41 (id:??) landed as
https://crrev.com/a71414d3412695691b873508377ae67854062fd4
Cr-Commit-Position: refs/heads/master@{#322383}

Powered by Google App Engine
This is Rietveld 408576698