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

Issue 2973173002: Fix crashes when using translate in incognito by overriding some methods. (Closed)

Created:
3 years, 5 months ago by jzw1
Modified:
3 years, 5 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash when using translate in incognito. Crash is fixed by returning the given browser state in BrowserStateKeyedServiceFactory even if browser state is off the record. BUG=739986 Review-Url: https://codereview.chromium.org/2973173002 Cr-Commit-Position: refs/heads/master@{#484972} Committed: https://chromium.googlesource.com/chromium/src/+/299f4d2472f0bb17bb10f4bb3e0caa7947f8858a

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed ichikawa comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M ios/web_view/internal/translate/web_view_translate_accept_languages_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ios/web_view/internal/translate/web_view_translate_ranker_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web_view/internal/translate/web_view_translate_ranker_factory.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
jzw1
On 2017/07/07 03:33:21, jzw1 wrote: > mailto:jzw@chromium.org changed reviewers: > + mailto:eugenebut@chromium.org, mailto:ichikawa@chromium.org, mailto:michaeldo@chromium.org hey ...
3 years, 5 months ago (2017-07-07 03:33:29 UTC) #3
Hiroshi Ichikawa
https://codereview.chromium.org/2973173002/diff/1/ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc File ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc (right): https://codereview.chromium.org/2973173002/diff/1/ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc#newcode81 ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc:81: return context; Can you add a comment explaining that ...
3 years, 5 months ago (2017-07-07 05:15:21 UTC) #4
jzw1
https://codereview.chromium.org/2973173002/diff/1/ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc File ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc (right): https://codereview.chromium.org/2973173002/diff/1/ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc#newcode81 ios/web_view/internal/translate/web_view_translate_accept_languages_factory.cc:81: return context; On 2017/07/07 05:15:21, Hiroshi Ichikawa wrote: > ...
3 years, 5 months ago (2017-07-07 06:20:44 UTC) #5
Hiroshi Ichikawa
lgtm
3 years, 5 months ago (2017-07-07 07:55:44 UTC) #6
michaeldo
Please update description to have one-line title in addition to current description. In Chrome, it ...
3 years, 5 months ago (2017-07-07 15:42:18 UTC) #7
Eugene But (OOO till 7-30)
lgtm
3 years, 5 months ago (2017-07-07 16:39:52 UTC) #8
jzw1
On 2017/07/07 15:42:18, michaeldo wrote: > Please update description to have one-line title in addition ...
3 years, 5 months ago (2017-07-07 17:24:51 UTC) #11
michaeldo
On 2017/07/07 17:24:51, jzw1 wrote: > On 2017/07/07 15:42:18, michaeldo wrote: > > Please update ...
3 years, 5 months ago (2017-07-07 17:27:18 UTC) #12
jzw1
On 2017/07/07 17:24:51, jzw1 wrote: > On 2017/07/07 15:42:18, michaeldo wrote: > > Please update ...
3 years, 5 months ago (2017-07-07 17:31:17 UTC) #13
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/2973173002/20001
3 years, 5 months ago (2017-07-07 17:32:19 UTC) #15
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 17:43:22 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/299f4d2472f0bb17bb10f4bb3e0c...

Powered by Google App Engine
This is Rietveld 408576698