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

Issue 239053004: Use invalid value for GetAccessPointName for CHROME_IOS_RESERVED (Closed)

Created:
6 years, 8 months ago by sdefresne
Modified:
6 years, 8 months ago
CC:
chromium-reviews, yao
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use invalid value for GetAccessPointName for CHROME_IOS_RESERVED The team that uses the RLZ access point does not want to reserve two access points for Chrome on iOS since only one is currently used but the enumeration rlz_lib::AccessPoint cannot be changed. Mark the CHROME_IOS_RESERVED access point enumeration value as not supported in IsAccessPointSupported (as we should never reference an access point with enumeration value until the value is reused). This fixes the code that iterates over all values in that enumeration in FinancialPing::FormRequest when no events have been recorded. Return an invalid value in GetAccessPointName if called with the enumeration value rlz_lib::AccessPoint instead of returning NULL to avoid a crash on Chrome OS (constructing a std::string from NULL crash in strlen on Chrome OS). BUG=360686, 363700 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264574

Patch Set 1 #

Patch Set 2 : Adding unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M rlz/lib/lib_values.cc View 1 chunk +4 lines, -1 line 0 comments Download
M rlz/lib/lib_values_unittest.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M rlz/lib/rlz_lib.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
sdefresne
Roger, please take a look at the code. I think that an access point of ...
6 years, 8 months ago (2014-04-15 21:08:09 UTC) #1
hshi1
On 2014/04/15 21:08:09, sdefresne wrote: > Roger, please take a look at the code. I ...
6 years, 8 months ago (2014-04-15 21:12:32 UTC) #2
sdefresne
On 2014/04/15 21:12:32, hshi1 wrote: > On 2014/04/15 21:08:09, sdefresne wrote: > > Roger, please ...
6 years, 8 months ago (2014-04-15 21:15:59 UTC) #3
hshi1
On 2014/04/15 21:15:59, sdefresne wrote: > On 2014/04/15 21:12:32, hshi1 wrote: > > On 2014/04/15 ...
6 years, 8 months ago (2014-04-15 21:26:11 UTC) #4
sdefresne
On 2014/04/15 21:26:11, hshi1 wrote: > On 2014/04/15 21:15:59, sdefresne wrote: > > On 2014/04/15 ...
6 years, 8 months ago (2014-04-15 21:27:25 UTC) #5
hshi1
lgtm
6 years, 8 months ago (2014-04-16 01:08:43 UTC) #6
Roger Tawa OOO till Jul 10th
lgtm
6 years, 8 months ago (2014-04-17 15:08:48 UTC) #7
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 8 months ago (2014-04-17 16:13:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/239053004/20001
6 years, 8 months ago (2014-04-17 16:13:35 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 16:46:48 UTC) #10
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=133168
6 years, 8 months ago (2014-04-17 16:46:49 UTC) #11
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 8 months ago (2014-04-17 17:25:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/239053004/20001
6 years, 8 months ago (2014-04-17 17:26:16 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-04-17 18:10:37 UTC) #14
Message was sent while issue was closed.
Change committed as 264574

Powered by Google App Engine
This is Rietveld 408576698