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

Issue 2726613002: Fix ensureInitialized() to try if the previous attempt failed (Closed)

Created:
3 years, 9 months ago by kapishnikov
Modified:
3 years, 9 months ago
Reviewers:
pauljensen, mef, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org, agrieve+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ensureInitialized() to retry if the previous attempts failed If ensureInitialized() fails the first time, the second call to it will do nothing and return right away. This change makes sure that if the first call failed, the second one retries the initialization. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester BUG=697153 Review-Url: https://codereview.chromium.org/2726613002 Cr-Commit-Position: refs/heads/master@{#453681} Committed: https://chromium.googlesource.com/chromium/src/+/fdf249c81c06c4e679f4f1bedd1c5c030da029fa

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed redundant if statement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -33 lines) Patch
M components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java View 1 3 chunks +36 lines, -33 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
kapishnikov
PTAL
3 years, 9 months ago (2017-02-28 18:21:02 UTC) #4
pauljensen
lgtm https://codereview.chromium.org/2726613002/diff/1/components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java File components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java (right): https://codereview.chromium.org/2726613002/diff/1/components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java#newcode41 components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java:41: } nit: remove if-statement as it's redundant with ...
3 years, 9 months ago (2017-02-28 19:07:52 UTC) #5
xunjieli
lgtm. could you file a crbug with a brief description of the motivation and link ...
3 years, 9 months ago (2017-02-28 19:27:10 UTC) #8
kapishnikov
On 2017/02/28 19:07:52, pauljensen wrote: > lgtm > > https://codereview.chromium.org/2726613002/diff/1/components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java > File > components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java > ...
3 years, 9 months ago (2017-02-28 19:58:05 UTC) #12
kapishnikov
On 2017/02/28 19:27:10, xunjieli wrote: > lgtm. > > could you file a crbug with ...
3 years, 9 months ago (2017-02-28 19:58:28 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/2726613002/20001
3 years, 9 months ago (2017-02-28 19:59:15 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 20:07:05 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/fdf249c81c06c4e679f4f1bedd1c...

Powered by Google App Engine
This is Rietveld 408576698