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

Issue 2859743002: Adds MailtoURLRewriterObserver to MailtoURLRewriter (Closed)

Created:
3 years, 7 months ago by pkl (ping after 24h if needed)
Modified:
3 years, 7 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, srahim+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds MailtoURLRewriterObserver to MailtoURLRewriter Allows an observer to be notified of changes to the default mailto: handler. This will be needed for implementation of Settings UI. BUG=711511 Review-Url: https://codereview.chromium.org/2859743002 Cr-Commit-Position: refs/heads/master@{#470620} Committed: https://chromium.googlesource.com/chromium/src/+/c899e16dcca08a6faabf99f3f283bcc01e6f44f9

Patch Set 1 #

Patch Set 2 : completed UI #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : split CL #

Patch Set 7 : comments #

Patch Set 8 : added unit test for observer #

Patch Set 9 : rebase #

Patch Set 10 : no changes to BUILD.gn any more #

Total comments: 4

Patch Set 11 : make observer weak, and test it. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -2 lines) Patch
M ios/chrome/browser/web/mailto_url_rewriter.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +13 lines, -0 lines 0 comments Download
M ios/chrome/browser/web/mailto_url_rewriter.mm View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -2 lines 0 comments Download
M ios/chrome/browser/web/mailto_url_rewriter_unittest.mm View 1 2 3 4 5 6 7 8 9 10 3 chunks +50 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (6 generated)
pkl (ping after 24h if needed)
Adding two APIs for the next CL which adds the Settings UI.
3 years, 7 months ago (2017-05-10 01:15:17 UTC) #3
jif
lgtm with nits https://codereview.chromium.org/2859743002/diff/180001/ios/chrome/browser/web/mailto_url_rewriter.h File ios/chrome/browser/web/mailto_url_rewriter.h (right): https://codereview.chromium.org/2859743002/diff/180001/ios/chrome/browser/web/mailto_url_rewriter.h#newcode30 ios/chrome/browser/web/mailto_url_rewriter.h:30: @property(nonatomic, assign) id<MailtoURLRewriterObserver> observer; use weak ...
3 years, 7 months ago (2017-05-10 09:32:07 UTC) #4
pkl (ping after 24h if needed)
jif: Thank you. rohitrao: PTAL. https://codereview.chromium.org/2859743002/diff/180001/ios/chrome/browser/web/mailto_url_rewriter.h File ios/chrome/browser/web/mailto_url_rewriter.h (right): https://codereview.chromium.org/2859743002/diff/180001/ios/chrome/browser/web/mailto_url_rewriter.h#newcode30 ios/chrome/browser/web/mailto_url_rewriter.h:30: @property(nonatomic, assign) id<MailtoURLRewriterObserver> observer; ...
3 years, 7 months ago (2017-05-10 16:28:06 UTC) #5
rohitrao (ping after 24h)
lgtm
3 years, 7 months ago (2017-05-10 16:41:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2859743002/200001
3 years, 7 months ago (2017-05-10 16:50:19 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 17:06:25 UTC) #12
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/c899e16dcca08a6faabf99f3f283...

Powered by Google App Engine
This is Rietveld 408576698