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

Issue 22415017: Read pnacl version from common .json file instead of using dirname. (Closed)

Created:
7 years, 4 months ago by jvoung (off chromium)
Modified:
7 years, 4 months ago
Reviewers:
James Hawkins, Dan Beam
CC:
chromium-reviews
Visibility:
Public.

Description

Read pnacl version from common .json file instead of using dirname. For about:nacl, it didn't seem too clean to check the directory structure for the PNaCl version number, and it required tweaking when we switching from normal CRX'es to multi-CRX. This scheme of checking the dirname also doesn't work with local chrome builds or with ChromeOS. Instead, grab the version number from the pnacl_public_pnacl_json. Depends on: https://codereview.chromium.org/22301014/ and on a new package of PNaCl being pushed out. However, this should still be tolerant of missing keys (just won't show the version). BUG=221381 NOTRY=true (failed tries unrelated) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216829

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 9

Patch Set 3 : review #

Patch Set 4 : misc formatting #

Total comments: 4

Patch Set 5 : review2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -15 lines) Patch
M chrome/browser/ui/webui/nacl_ui.cc View 1 2 3 4 9 chunks +36 lines, -15 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jvoung (off chromium)
7 years, 4 months ago (2013-08-08 18:28:34 UTC) #1
jvoung (off chromium)
Oops looks like James is on paternity. Can you review +dbeam? Thanks!
7 years, 4 months ago (2013-08-09 01:00:18 UTC) #2
Dan Beam
https://codereview.chromium.org/22415017/diff/2001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/22415017/diff/2001/chrome/browser/ui/webui/nacl_ui.cc#newcode90 chrome/browser/ui/webui/nacl_ui.cc:90: void DidCheckPathAndVersion(bool* is_valid, std::string* version); ^ can this be ...
7 years, 4 months ago (2013-08-09 01:12:28 UTC) #3
jvoung (off chromium)
Thanks for the review! https://codereview.chromium.org/22415017/diff/2001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/22415017/diff/2001/chrome/browser/ui/webui/nacl_ui.cc#newcode90 chrome/browser/ui/webui/nacl_ui.cc:90: void DidCheckPathAndVersion(bool* is_valid, std::string* version); ...
7 years, 4 months ago (2013-08-09 03:31:53 UTC) #4
Dan Beam
lgtm https://codereview.chromium.org/22415017/diff/12001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/22415017/diff/12001/chrome/browser/ui/webui/nacl_ui.cc#newcode335 chrome/browser/ui/webui/nacl_ui.cc:335: if (!root.get() || !root->IsType(base::Value::TYPE_DICTIONARY)) nit: !root https://codereview.chromium.org/22415017/diff/12001/chrome/browser/ui/webui/nacl_ui.cc#newcode340 chrome/browser/ui/webui/nacl_ui.cc:340: ...
7 years, 4 months ago (2013-08-09 22:26:26 UTC) #5
jvoung (off chromium)
https://codereview.chromium.org/22415017/diff/12001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/22415017/diff/12001/chrome/browser/ui/webui/nacl_ui.cc#newcode335 chrome/browser/ui/webui/nacl_ui.cc:335: if (!root.get() || !root->IsType(base::Value::TYPE_DICTIONARY)) On 2013/08/09 22:26:26, Dan Beam ...
7 years, 4 months ago (2013-08-09 22:47:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/22415017/35001
7 years, 4 months ago (2013-08-09 22:53:25 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186088
7 years, 4 months ago (2013-08-10 03:48:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/22415017/35001
7 years, 4 months ago (2013-08-10 04:01:04 UTC) #9
commit-bot: I haz the power
7 years, 4 months ago (2013-08-10 08:32:22 UTC) #10
Message was sent while issue was closed.
Change committed as 216829

Powered by Google App Engine
This is Rietveld 408576698