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

Issue 11745002: [telemetry] Fix user agent string for cros. (Closed)

Created:
7 years, 11 months ago by hartmanng
Modified:
7 years, 11 months ago
Reviewers:
bulach, tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, pam+watch_chromium.org, telemetry+watch_chromium.org, nduca, joth
Visibility:
Public.

Description

[telemetry] Fix user agent string for cros. BUG=167979 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176210

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M tools/telemetry/telemetry/page_runner_unittest.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/user_agent.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/user_agent_unittest.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
hartmanng
Please take a look.
7 years, 11 months ago (2013-01-02 16:26:17 UTC) #1
hartmanng
Oops, looks like bulach is still on vacation. Tony, if you have time, could you ...
7 years, 11 months ago (2013-01-03 14:46:59 UTC) #2
tonyg
https://codereview.chromium.org/11745002/diff/3001/tools/telemetry/telemetry/page_runner_unittest.py File tools/telemetry/telemetry/page_runner_unittest.py (right): https://codereview.chromium.org/11745002/diff/3001/tools/telemetry/telemetry/page_runner_unittest.py#newcode122 tools/telemetry/telemetry/page_runner_unittest.py:122: expected_user_agent = '\'%s\'' % user_agent.UA_TYPE_MAPPING['tablet'] Recommend quoting this string ...
7 years, 11 months ago (2013-01-03 18:33:14 UTC) #3
hartmanng
https://codereview.chromium.org/11745002/diff/3001/tools/telemetry/telemetry/user_agent.py File tools/telemetry/telemetry/user_agent.py (right): https://codereview.chromium.org/11745002/diff/3001/tools/telemetry/telemetry/user_agent.py#newcode27 tools/telemetry/telemetry/user_agent.py:27: return ['--user-agent=\'%s\'' % UA_TYPE_MAPPING[user_agent_type]] On 2013/01/03 18:33:14, tonyg wrote: ...
7 years, 11 months ago (2013-01-03 18:49:42 UTC) #4
bulach
+joth, as he implemented CommandLine.java mentioned below. some thoughts below: https://codereview.chromium.org/11745002/diff/3001/tools/telemetry/telemetry/user_agent.py File tools/telemetry/telemetry/user_agent.py (right): https://codereview.chromium.org/11745002/diff/3001/tools/telemetry/telemetry/user_agent.py#newcode27 ...
7 years, 11 months ago (2013-01-08 10:32:30 UTC) #5
joth
On 8 January 2013 02:32, <bulach@chromium.org> wrote: > +joth, as he implemented CommandLine.java mentioned below. ...
7 years, 11 months ago (2013-01-09 01:37:50 UTC) #6
hartmanng
Thanks for the input everyone! It looks like this actually works without quotes at all ...
7 years, 11 months ago (2013-01-10 14:50:49 UTC) #7
tonyg
lgtm In answer to your question, with the other patch, the single tics showed up ...
7 years, 11 months ago (2013-01-10 18:37:28 UTC) #8
hartmanng
> In answer to your question, with the other patch, the single tics showed up ...
7 years, 11 months ago (2013-01-10 18:46:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/11745002/7002
7 years, 11 months ago (2013-01-10 18:47:09 UTC) #10
commit-bot: I haz the power
7 years, 11 months ago (2013-01-10 23:47:23 UTC) #11
Message was sent while issue was closed.
Change committed as 176210

Powered by Google App Engine
This is Rietveld 408576698