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

Issue 1956403002: Re-submit of AppLink implementation. (Closed)

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

Description

Re-submit of AppLink implementation. The only difference is removed assert from AppLinkHandler getInstance() method because it gets created on Test thread within tests. BUG=609556 TBR=asvitkine@chromium.org Committed: https://crrev.com/afdc2d9bbd7f7693542a6a94e4efc895fa40fe6c Cr-Commit-Position: refs/heads/master@{#392399}

Patch Set 1 #

Patch Set 2 : Lock it and throw away the key #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -4 lines) Patch
A chrome/android/java/src/org/chromium/chrome/browser/AppLinkHandler.java View 1 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegate.java View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandler.java View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/metrics/LaunchMetrics.java View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromePreferenceManager.java View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/android/java_sources.gni View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Maria
4 years, 7 months ago (2016-05-09 16:55:05 UTC) #2
gone
Is that something that could have been handled with a ThreadUtils.runOnUiThreadBlocking() call?
4 years, 7 months ago (2016-05-09 16:57:19 UTC) #3
chromium-reviews
Not easily. I could probably get around it by mocking out the method that references ...
4 years, 7 months ago (2016-05-09 17:21:31 UTC) #4
gone
lgtm
4 years, 7 months ago (2016-05-09 17:24:50 UTC) #5
gone
Maybe you could force the function to be synchronized, or add a synchronized block?
4 years, 7 months ago (2016-05-09 17:25:38 UTC) #6
chromium-reviews
I could... I hope the overhead of grabbing a lock will be minimal since it's ...
4 years, 7 months ago (2016-05-09 17:32:46 UTC) #7
gone
I think it'd be worth it for correctness sake, but your call.
4 years, 7 months ago (2016-05-09 17:34:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956403002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956403002/20001
4 years, 7 months ago (2016-05-09 18:33:20 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-09 19:39:45 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 19:42:18 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/afdc2d9bbd7f7693542a6a94e4efc895fa40fe6c
Cr-Commit-Position: refs/heads/master@{#392399}

Powered by Google App Engine
This is Rietveld 408576698