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

Issue 11031066: Adding utility method to test the version of the OS. (Closed)

Created:
8 years, 2 months ago by qsr
Modified:
8 years, 2 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Adding utility method to test the version of the OS. This had method to check which version of the OS the application is running. It also changes the ID generation mechanism to use identifierForVendor on iOS6 so that the ID are persisted across application reinstallation. BUG=None TEST=None R=stuartmorgan@chromium.org,mark@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160414

Patch Set 1 #

Patch Set 2 : Adding missing include. #

Patch Set 3 : Moving OS informative methods to SysInfo #

Patch Set 4 : Fix namespace #

Total comments: 4

Patch Set 5 : Fix tests #

Patch Set 6 : Compile issue #

Total comments: 10

Patch Set 7 : Creating ios_util #

Patch Set 8 : Adding missing include #

Patch Set 9 : Follow review #

Patch Set 10 : Adding missing includes #

Patch Set 11 : Adding new file to gyp #

Patch Set 12 : Fixes #

Patch Set 13 : Using pointers instead of arrays #

Patch Set 14 : Fixes #

Total comments: 8

Patch Set 15 : Follow review #

Patch Set 16 : Fix arraysize #

Patch Set 17 : Fix loop variable #

Total comments: 4

Patch Set 18 : Follow review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -3 lines) Patch
M base/base.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A base/ios/OWNERS View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M base/ios/device_util.mm View 1 2 3 4 5 6 3 chunks +6 lines, -2 lines 0 comments Download
M base/ios/device_util_unittest.mm View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
A base/ios/ios_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +26 lines, -0 lines 0 comments Download
A base/ios/ios_util.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
qsr
8 years, 2 months ago (2012-10-05 10:02:07 UTC) #1
qsr
8 years, 2 months ago (2012-10-05 10:03:09 UTC) #2
stuartmorgan
Per discussion, we should use base/ios/ios_util to match the similar methods in base/mac/mac_util https://chromiumcodereview.appspot.com/11031066/diff/7001/base/ios/OWNERS File ...
8 years, 2 months ago (2012-10-05 12:19:43 UTC) #3
Mark Mentovai
Plus Stuart’s comments. https://chromiumcodereview.appspot.com/11031066/diff/7002/base/ios/OWNERS File base/ios/OWNERS (right): https://chromiumcodereview.appspot.com/11031066/diff/7002/base/ios/OWNERS#newcode2 base/ios/OWNERS:2: qsr@chromium.org This isn’t a file copy, ...
8 years, 2 months ago (2012-10-05 12:49:04 UTC) #4
qsr
http://codereview.chromium.org/11031066/diff/7001/base/ios/OWNERS File base/ios/OWNERS (right): http://codereview.chromium.org/11031066/diff/7001/base/ios/OWNERS#newcode1 base/ios/OWNERS:1: set noparent On 2012/10/05 12:19:43, stuartmorgan wrote: > This ...
8 years, 2 months ago (2012-10-05 14:53:55 UTC) #5
Mark Mentovai
If it LGT Stuart, it LGTM with these small changes. http://codereview.chromium.org/11031066/diff/9017/base/ios/ios_util.mm File base/ios/ios_util.mm (right): http://codereview.chromium.org/11031066/diff/9017/base/ios/ios_util.mm#newcode13 ...
8 years, 2 months ago (2012-10-05 15:03:51 UTC) #6
stuartmorgan
LGTM with nits http://codereview.chromium.org/11031066/diff/6014/base/base.gypi File base/base.gypi (right): http://codereview.chromium.org/11031066/diff/6014/base/base.gypi#newcode166 base/base.gypi:166: 'ios/scoped_critical_action.mm', Why are you moving this ...
8 years, 2 months ago (2012-10-05 15:17:51 UTC) #7
qsr
http://codereview.chromium.org/11031066/diff/9017/base/ios/ios_util.mm File base/ios/ios_util.mm (right): http://codereview.chromium.org/11031066/diff/9017/base/ios/ios_util.mm#newcode13 base/ios/ios_util.mm:13: static int32 digits[3]; On 2012/10/05 15:03:51, Mark Mentovai wrote: ...
8 years, 2 months ago (2012-10-05 15:33:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/11031066/1018
8 years, 2 months ago (2012-10-05 15:33:26 UTC) #9
commit-bot: I haz the power
8 years, 2 months ago (2012-10-05 17:49:03 UTC) #10
Change committed as 160414

Powered by Google App Engine
This is Rietveld 408576698