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

Issue 13839011: Asynchronous initialization in Simple Index. (Closed)

Created:
7 years, 8 months ago by felipeg
Modified:
7 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, dmazzoni
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : wainting for pasko CL to be committed #

Patch Set 6 : syncing #

Patch Set 7 : egor's change is in #

Total comments: 46

Patch Set 8 : egors nits #

Patch Set 9 : gavins comments #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 4

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -98 lines) Patch
M net/disk_cache/simple/simple_backend_impl.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +17 lines, -5 lines 0 comments Download
M net/disk_cache/simple/simple_backend_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +33 lines, -18 lines 0 comments Download
M net/disk_cache/simple/simple_disk_format.h View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M net/disk_cache/simple/simple_disk_format.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M net/disk_cache/simple/simple_index.h View 1 2 3 4 5 6 7 8 4 chunks +31 lines, -11 lines 0 comments Download
M net/disk_cache/simple/simple_index.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +149 lines, -64 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
felipeg
7 years, 8 months ago (2013-04-10 09:48:48 UTC) #1
gavinp
Sending these comments out right away, since I'm 3 uploads behind and want to start ...
7 years, 8 months ago (2013-04-10 10:51:56 UTC) #2
gavinp
I think threading gets too confusing when nonstatic methods on the same class are called ...
7 years, 8 months ago (2013-04-10 11:45:43 UTC) #3
felipeg
https://codereview.chromium.org/13839011/diff/1001/net/disk_cache/simple/simple_disk_format.cc File net/disk_cache/simple/simple_disk_format.cc (right): https://codereview.chromium.org/13839011/diff/1001/net/disk_cache/simple/simple_disk_format.cc#newcode79 net/disk_cache/simple/simple_disk_format.cc:79: if (out_entry_metadata->entry_size == 0) On 2013/04/10 10:51:56, gavinp wrote: ...
7 years, 8 months ago (2013-04-10 14:21:45 UTC) #4
pasko-google - do not use
initial naming nits, will look at it more tomorrow https://chromiumcodereview.appspot.com/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc File net/disk_cache/simple/simple_backend_impl.cc (right): https://chromiumcodereview.appspot.com/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc#newcode58 net/disk_cache/simple/simple_backend_impl.cc:58: ...
7 years, 8 months ago (2013-04-10 17:51:01 UTC) #5
felipeg
https://chromiumcodereview.appspot.com/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc File net/disk_cache/simple/simple_backend_impl.cc (right): https://chromiumcodereview.appspot.com/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc#newcode58 net/disk_cache/simple/simple_backend_impl.cc:58: completition_callback); On 2013/04/10 17:51:01, pasko wrote: > s/completition_callback/completion_callback/ Done. ...
7 years, 8 months ago (2013-04-11 09:41:35 UTC) #6
gavinp
Very close! https://codereview.chromium.org/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc File net/disk_cache/simple/simple_backend_impl.cc (right): https://codereview.chromium.org/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc#newcode48 net/disk_cache/simple/simple_backend_impl.cc:48: index_.reset(new SimpleIndex(cache_thread, Move this into the ctor ...
7 years, 8 months ago (2013-04-11 09:56:32 UTC) #7
felipeg
https://chromiumcodereview.appspot.com/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc File net/disk_cache/simple/simple_backend_impl.cc (right): https://chromiumcodereview.appspot.com/13839011/diff/23001/net/disk_cache/simple/simple_backend_impl.cc#newcode48 net/disk_cache/simple/simple_backend_impl.cc:48: index_.reset(new SimpleIndex(cache_thread, On 2013/04/11 09:56:32, gavinp wrote: > Move ...
7 years, 8 months ago (2013-04-11 11:25:45 UTC) #8
gavinp
https://codereview.chromium.org/13839011/diff/23001/net/disk_cache/simple/simple_index.cc File net/disk_cache/simple/simple_index.cc (right): https://codereview.chromium.org/13839011/diff/23001/net/disk_cache/simple/simple_index.cc#newcode143 net/disk_cache/simple/simple_index.cc:143: scoped_ptr<EntrySet> initializing_set(new EntrySet()); On 2013/04/11 11:25:45, felipeg1 wrote: > ...
7 years, 8 months ago (2013-04-11 11:35:38 UTC) #9
gavinp
https://codereview.chromium.org/13839011/diff/43001/net/disk_cache/simple/simple_backend_impl.h File net/disk_cache/simple/simple_backend_impl.h (right): https://codereview.chromium.org/13839011/diff/43001/net/disk_cache/simple/simple_backend_impl.h#newcode44 net/disk_cache/simple/simple_backend_impl.h:44: virtual ~SimpleBackendImpl(); Method ordering: Constructor, Destructor, then other methods. ...
7 years, 8 months ago (2013-04-11 11:59:26 UTC) #10
felipeg
https://codereview.chromium.org/13839011/diff/43001/net/disk_cache/simple/simple_backend_impl.h File net/disk_cache/simple/simple_backend_impl.h (right): https://codereview.chromium.org/13839011/diff/43001/net/disk_cache/simple/simple_backend_impl.h#newcode44 net/disk_cache/simple/simple_backend_impl.h:44: virtual ~SimpleBackendImpl(); On 2013/04/11 11:59:26, gavinp wrote: > Method ...
7 years, 8 months ago (2013-04-11 12:12:54 UTC) #11
gavinp
LGTM
7 years, 8 months ago (2013-04-11 12:16:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felipeg@chromium.org/13839011/43003
7 years, 8 months ago (2013-04-11 12:18:11 UTC) #13
commit-bot: I haz the power
Change committed as 193665
7 years, 8 months ago (2013-04-11 16:37:06 UTC) #14
felipeg
We will re-land this as soon as Egor land the fix on the unittest.
7 years, 8 months ago (2013-04-11 17:37:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felipeg@chromium.org/13839011/43003
7 years, 8 months ago (2013-04-12 15:54:13 UTC) #16
commit-bot: I haz the power
7 years, 8 months ago (2013-04-12 15:54:29 UTC) #17
Message was sent while issue was closed.
Change committed as 193944

Powered by Google App Engine
This is Rietveld 408576698