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

Issue 16346003: Fix extension id calculation to take into account Windows encoding. (Closed)

Created:
7 years, 6 months ago by Tim Song
Modified:
7 years, 6 months ago
Reviewers:
achuithb, tonyg, nduca
CC:
chromium-reviews, chrome-speed-team+watch_google.com, Aaron Boodman, telemetry+watch_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix extension id calculation to take into account Windows encoding. BUG=243532 TEST=updated and ran telemetry unit tests NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204380

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Updated crx_id windows unit test to escape backslash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -25 lines) Patch
M tools/crx_id/crx_id.py View 1 2 4 chunks +17 lines, -8 lines 0 comments Download
M tools/crx_id/crx_id_unittest.py View 1 2 3 1 chunk +14 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/extension_to_load.py View 1 3 chunks +13 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/extension_unittest.py View 1 5 chunks +18 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Tim Song
This should fix the test failures on Windows, but I'm not sure if this is ...
7 years, 6 months ago (2013-06-04 03:26:48 UTC) #1
achuithb
https://codereview.chromium.org/16346003/diff/1/tools/crx_id/crx_id.py File tools/crx_id/crx_id.py (right): https://codereview.chromium.org/16346003/diff/1/tools/crx_id/crx_id.py#newcode113 tools/crx_id/crx_id.py:113: def GetPublicKey(filename, from_file_path, encode_path_for_windows=False): encode_path_for_windows seems overly verbose. is_win_path? ...
7 years, 6 months ago (2013-06-04 18:33:29 UTC) #2
tonyg
Looks reasonable to me https://codereview.chromium.org/16346003/diff/1/tools/telemetry/telemetry/core/extension_to_load.py File tools/telemetry/telemetry/core/extension_to_load.py (right): https://codereview.chromium.org/16346003/diff/1/tools/telemetry/telemetry/core/extension_to_load.py#newcode32 tools/telemetry/telemetry/core/extension_to_load.py:32: self._is_platform_windows = browser_type == 'system' ...
7 years, 6 months ago (2013-06-04 18:40:16 UTC) #3
Tim Song
https://codereview.chromium.org/16346003/diff/1/tools/crx_id/crx_id.py File tools/crx_id/crx_id.py (right): https://codereview.chromium.org/16346003/diff/1/tools/crx_id/crx_id.py#newcode113 tools/crx_id/crx_id.py:113: def GetPublicKey(filename, from_file_path, encode_path_for_windows=False): On 2013/06/04 18:33:29, achuith.bhandarkar wrote: ...
7 years, 6 months ago (2013-06-05 18:36:27 UTC) #4
achuithb
lgtm from me. Please wait for Tony
7 years, 6 months ago (2013-06-05 19:16:46 UTC) #5
tonyg
lgtm
7 years, 6 months ago (2013-06-05 21:44:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/16346003/17001
7 years, 6 months ago (2013-06-06 00:00:35 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-06-06 01:28:07 UTC) #8
Message was sent while issue was closed.
Change committed as 204380

Powered by Google App Engine
This is Rietveld 408576698