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

Issue 10535145: chromeos: Stop calling gdata::GDataCache::GetCacheEntry on UI thread (Closed)

Created:
8 years, 6 months ago by hashimoto
Modified:
8 years, 6 months ago
Reviewers:
achuithb, satorux1
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

chromeos: Stop calling gdata::GDataCache::GetCacheEntry on UI thread BUG=131826 TEST=unit_tests --gtest_filter="GData*" Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142100

Patch Set 1 #

Patch Set 2 : Fix test #

Total comments: 14

Patch Set 3 : review fix #

Total comments: 8

Patch Set 4 : fixed nits #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -24 lines) Patch
M chrome/browser/chromeos/gdata/gdata_cache.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 3 chunks +40 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 1 2 3 4 4 chunks +31 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
hashimoto
8 years, 6 months ago (2012-06-13 14:04:36 UTC) #1
achuithb
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); Why not GDataCache::CacheEntry* cache_entry = new GDataCache::CacheEntry(); ...
8 years, 6 months ago (2012-06-13 21:37:11 UTC) #2
satorux1
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode462 chrome/browser/chromeos/gdata/gdata_file_system.cc:462: void GetCacheEntryOnBlockingPool( nit: function comment is missing. http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: ...
8 years, 6 months ago (2012-06-13 23:03:03 UTC) #3
hashimoto
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/13 23:03:03, satorux1 wrote: > On ...
8 years, 6 months ago (2012-06-14 00:12:42 UTC) #4
satorux1
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/14 00:12:42, hashimoto wrote: > On ...
8 years, 6 months ago (2012-06-14 00:23:56 UTC) #5
hashimoto
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/14 00:23:56, satorux1 wrote: > On ...
8 years, 6 months ago (2012-06-14 00:33:35 UTC) #6
satorux1
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/14 00:33:35, hashimoto wrote: > On ...
8 years, 6 months ago (2012-06-14 00:37:57 UTC) #7
satorux1
LGTM with a nit: http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode462 chrome/browser/chromeos/gdata/gdata_file_system.cc:462: void GetCacheEntryOnBlockingPool( On 2012/06/13 23:03:03, ...
8 years, 6 months ago (2012-06-14 00:41:47 UTC) #8
achuithb
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/14 00:37:57, satorux1 wrote: > On ...
8 years, 6 months ago (2012-06-14 00:45:51 UTC) #9
satorux1
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/14 00:45:51, achuith.bhandarkar wrote: > On ...
8 years, 6 months ago (2012-06-14 00:48:10 UTC) #10
hashimoto
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/14 00:48:11, satorux1 wrote: > On ...
8 years, 6 months ago (2012-06-14 00:58:09 UTC) #11
satorux1
http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3255 chrome/browser/chromeos/gdata/gdata_file_system.cc:3255: new scoped_ptr<GDataCache::CacheEntry>(); On 2012/06/14 00:58:09, hashimoto wrote: > On ...
8 years, 6 months ago (2012-06-14 01:00:09 UTC) #12
hashimoto
PTAL https://chromiumcodereview.appspot.com/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10535145/diff/3001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode462 chrome/browser/chromeos/gdata/gdata_file_system.cc:462: void GetCacheEntryOnBlockingPool( On 2012/06/14 00:41:47, satorux1 wrote: > ...
8 years, 6 months ago (2012-06-14 01:17:53 UTC) #13
satorux1
LGTM with nits. http://codereview.chromium.org/10535145/diff/2002/chrome/browser/chromeos/gdata/gdata_cache.h File chrome/browser/chromeos/gdata/gdata_cache.h (right): http://codereview.chromium.org/10535145/diff/2002/chrome/browser/chromeos/gdata/gdata_cache.h#newcode65 chrome/browser/chromeos/gdata/gdata_cache.h:65: int cache_state) please fix the indentation ...
8 years, 6 months ago (2012-06-14 01:24:42 UTC) #14
hashimoto
http://codereview.chromium.org/10535145/diff/2002/chrome/browser/chromeos/gdata/gdata_cache.h File chrome/browser/chromeos/gdata/gdata_cache.h (right): http://codereview.chromium.org/10535145/diff/2002/chrome/browser/chromeos/gdata/gdata_cache.h#newcode65 chrome/browser/chromeos/gdata/gdata_cache.h:65: int cache_state) On 2012/06/14 01:24:42, satorux1 wrote: > please ...
8 years, 6 months ago (2012-06-14 03:12:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/10535145/9
8 years, 6 months ago (2012-06-14 04:04:35 UTC) #16
commit-bot: I haz the power
8 years, 6 months ago (2012-06-14 04:04:36 UTC) #17
Failed to apply patch for chrome/browser/chromeos/gdata/gdata_cache.h:
While running patch -p1 --forward --force;
patching file chrome/browser/chromeos/gdata/gdata_cache.h
Hunk #1 FAILED at 57.
1 out of 1 hunk FAILED -- saving rejects to file
chrome/browser/chromeos/gdata/gdata_cache.h.rej

Powered by Google App Engine
This is Rietveld 408576698