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

Issue 9355051: Plumb through cache_identity from manifest for first sketch of pnacl cache. (Closed)

Created:
8 years, 10 months ago by jvoung - send to chromium...
Modified:
8 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Plumb through cache_identity from manifest for first sketch of pnacl cache. Probe cache for lookups. BUG= http://code.google.com/p/nativeclient/issues/detail?id=1714 TEST= run_pnacl_example_browser_test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123178

Patch Set 1 #

Patch Set 2 : compile #

Total comments: 5

Patch Set 3 : fix ups #

Patch Set 4 : more typos #

Patch Set 5 : make sha optional #

Patch Set 6 : fix type-check thing found by windows compiler. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -75 lines) Patch
M ppapi/native_client/src/trusted/plugin/json_manifest.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/json_manifest.cc View 1 2 3 4 5 10 chunks +49 lines, -18 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/manifest.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 chunk +0 lines, -10 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 4 chunks +4 lines, -12 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h View 1 2 3 10 chunks +20 lines, -3 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 2 3 15 chunks +99 lines, -31 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
jvoung - send to chromium...
will be out tomorrow (mini vacation), but if you wanted to patch this in and ...
8 years, 10 months ago (2012-02-21 01:53:21 UTC) #1
sehr (please use chromium)
One bug (I think). http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trusted/plugin/json_manifest.cc File ppapi/native_client/src/trusted/plugin/json_manifest.cc (right): http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trusted/plugin/json_manifest.cc#newcode303 ppapi/native_client/src/trusted/plugin/json_manifest.cc:303: GrabUrlAndCacheIdentity(isa_spec[kPnaclTranslateKey], url, cache_identity); The if ...
8 years, 10 months ago (2012-02-22 19:30:37 UTC) #2
jvoung - send to chromium...
and now with cache lookup http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trusted/plugin/json_manifest.cc File ppapi/native_client/src/trusted/plugin/json_manifest.cc (right): http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trusted/plugin/json_manifest.cc#newcode303 ppapi/native_client/src/trusted/plugin/json_manifest.cc:303: GrabUrlAndCacheIdentity(isa_spec[kPnaclTranslateKey], url, cache_identity); On ...
8 years, 10 months ago (2012-02-22 19:45:36 UTC) #3
sehr (please use chromium)
On 2012/02/22 19:45:36, jvoung wrote: > and now with cache lookup > > http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trusted/plugin/json_manifest.cc > ...
8 years, 10 months ago (2012-02-22 21:45:53 UTC) #4
jvoung - send to chromium...
8 years, 10 months ago (2012-02-23 02:26:58 UTC) #5
On 2012/02/22 21:45:53, sehr wrote:
> On 2012/02/22 19:45:36, jvoung wrote:
> > and now with cache lookup
> > 
> >
>
http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trus...
> > File ppapi/native_client/src/trusted/plugin/json_manifest.cc (right):
> > 
> >
>
http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trus...
> > ppapi/native_client/src/trusted/plugin/json_manifest.cc:303:
> > GrabUrlAndCacheIdentity(isa_spec[kPnaclTranslateKey], url, cache_identity);
> > On 2012/02/22 19:30:37, sehr wrote:
> > > The if guard makes sure that the dictionary index here will return an
empty
> > > collection, I think.
> > 
> > Good catch thanks!  Copy-paste bug =(
> > 
> >
>
http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trus...
> > File ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc (right):
> > 
> >
>
http://codereview.chromium.org/9355051/diff/2001/ppapi/native_client/src/trus...
> > ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc:223: 
> > On 2012/02/22 19:30:37, sehr wrote:
> > > stray character?
> > 
> > Done.
> 
> LGTM.

Thanks, trybots finally done -- 123178

Powered by Google App Engine
This is Rietveld 408576698