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

Issue 2005023003: Change iOS web matcher argument types to std::string. (Closed)

Created:
4 years, 7 months ago by baxley
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change iOS web matcher argument types to std::string. Most callers will be operating on GURLs, which are easier to use with std::string, rather than NSString. BUG=614167 Committed: https://crrev.com/89fa2012170971a09e3ae2536d6bedf9a711364d Cr-Commit-Position: refs/heads/master@{#395589}

Patch Set 1 #

Total comments: 1

Patch Set 2 : re-order includes #

Total comments: 6

Patch Set 3 : const & #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -36 lines) Patch
M ios/web/public/test/earl_grey/web_view_matchers.h View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M ios/web/public/test/earl_grey/web_view_matchers.mm View 1 2 4 chunks +11 lines, -5 lines 0 comments Download
M ios/web/shell/test/earl_grey/shell_matchers.h View 1 2 3 chunks +13 lines, -3 lines 0 comments Download
M ios/web/shell/test/earl_grey/shell_matchers.mm View 1 2 6 chunks +17 lines, -7 lines 0 comments Download
M ios/web/shell/test/web_shell_navigation_egtest.mm View 4 chunks +15 lines, -20 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
baxley
I tried changing the matcher APIs to pass std::string, instead of NSString. It makes the ...
4 years, 7 months ago (2016-05-23 23:19:59 UTC) #2
Eugene But (OOO till 7-30)
Thanks! lgtm https://codereview.chromium.org/2005023003/diff/20001/ios/web/public/test/earl_grey/web_view_matchers.h File ios/web/public/test/earl_grey/web_view_matchers.h (right): https://codereview.chromium.org/2005023003/diff/20001/ios/web/public/test/earl_grey/web_view_matchers.h#newcode26 ios/web/public/test/earl_grey/web_view_matchers.h:26: + (id<GREYMatcher>)matcherForWebViewContainingText:(std::string)text const std::string & https://codereview.chromium.org/2005023003/diff/20001/ios/web/shell/test/earl_grey/shell_matchers.h File ...
4 years, 7 months ago (2016-05-24 01:20:31 UTC) #3
baxley
Comments addressed. https://codereview.chromium.org/2005023003/diff/20001/ios/web/public/test/earl_grey/web_view_matchers.h File ios/web/public/test/earl_grey/web_view_matchers.h (right): https://codereview.chromium.org/2005023003/diff/20001/ios/web/public/test/earl_grey/web_view_matchers.h#newcode26 ios/web/public/test/earl_grey/web_view_matchers.h:26: + (id<GREYMatcher>)matcherForWebViewContainingText:(std::string)text On 2016/05/24 01:20:31, Eugene But ...
4 years, 7 months ago (2016-05-24 13:12:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005023003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005023003/40001
4 years, 7 months ago (2016-05-24 13:12:30 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-24 13:46:24 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 13:48:03 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/89fa2012170971a09e3ae2536d6bedf9a711364d
Cr-Commit-Position: refs/heads/master@{#395589}

Powered by Google App Engine
This is Rietveld 408576698