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

Issue 1321393002: Attempt to head off OmahaClient ANR (Closed)

Created:
5 years, 3 months ago by gone
Modified:
5 years, 3 months ago
Reviewers:
nyquist
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Attempt to head off OmahaClient ANR * Move code to initialize member variables to when they're actually needed by the OmahaClient instead of creating them in onCreate(). * Fully remove the ability to force OmahaClient to send a request to the server. The code that hooked into that was killed ages ago. BUG=515312 Committed: https://crrev.com/f014ac536d9cd84d87dde53708779f9d20aa0587 Cr-Commit-Position: refs/heads/master@{#346770}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -153 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java View 28 chunks +73 lines, -95 lines 2 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/omaha/VersionNumberGetter.java View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/omaha/OmahaClientTest.java View 13 chunks +24 lines, -53 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
gone
5 years, 3 months ago (2015-09-01 21:47:08 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321393002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321393002/1
5 years, 3 months ago (2015-09-01 21:47:59 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-01 22:30:34 UTC) #6
nyquist
lgtm https://codereview.chromium.org/1321393002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java File chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java (right): https://codereview.chromium.org/1321393002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java#newcode297 chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java:297: generateAndPostRequest(currentTimestamp, sessionID); So this ignores the return value ...
5 years, 3 months ago (2015-09-01 22:32:50 UTC) #7
gone
https://codereview.chromium.org/1321393002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java File chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java (right): https://codereview.chromium.org/1321393002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java#newcode297 chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java:297: generateAndPostRequest(currentTimestamp, sessionID); On 2015/09/01 22:32:50, nyquist wrote: > So ...
5 years, 3 months ago (2015-09-01 22:36:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321393002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321393002/1
5 years, 3 months ago (2015-09-01 22:56:16 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-09-01 23:02:43 UTC) #11
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 23:03:36 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f014ac536d9cd84d87dde53708779f9d20aa0587
Cr-Commit-Position: refs/heads/master@{#346770}

Powered by Google App Engine
This is Rietveld 408576698