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

Issue 568823003: Merge Android RetrieveWebappInformation and Extensions GetApplicationInfo. (Closed)

Created:
6 years, 3 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 3 months ago
Reviewers:
palmer, jackhou1, gone, sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@manifest_manager_content
Project:
chromium
Visibility:
Public.

Description

Merge Android RetrieveWebappInformation and Extensions GetApplicationInfo. This is refactoring some code and also allows add to homescreen to use <meta name='application-name'>. BUG=366145 Committed: https://crrev.com/89ccc63d3e5ad5893006d0e445750ecdfcb2c5ac Cr-Commit-Position: refs/heads/master@{#295125}

Patch Set 1 #

Patch Set 2 : compile fixes #

Patch Set 3 : rebase #

Patch Set 4 : android tests #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : review comments #

Total comments: 12

Patch Set 8 : review comments #

Patch Set 9 : #

Total comments: 4

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -270 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/android/shortcut_helper.h View 1 2 3 4 5 6 7 5 chunks +4 lines, -12 lines 0 comments Download
M chrome/browser/android/shortcut_helper.cc View 1 2 3 4 5 6 7 8 6 chunks +33 lines, -38 lines 0 comments Download
M chrome/browser/extensions/tab_helper.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/web_applications/web_app_unittest.cc View 1 2 3 4 5 4 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_constants.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/extensions/chrome_extension_messages.h View 3 chunks +0 lines, -22 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 4 chunks +26 lines, -12 lines 0 comments Download
M chrome/common/web_application_info.h View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/web_application_info.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +45 lines, -48 lines 0 comments Download
D chrome/renderer/extensions/chrome_extension_helper.h View 1 chunk +0 lines, -43 lines 0 comments Download
D chrome/renderer/extensions/chrome_extension_helper.cc View 1 chunk +0 lines, -58 lines 0 comments Download
M chrome/renderer/web_apps.h View 1 chunk +5 lines, -12 lines 0 comments Download
M chrome/renderer/web_apps.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
mlamouri (slow - plz ping)
jackhou@chromium.org: could you have a look at the changes wrt to web_apps/ and extensions/. It ...
6 years, 3 months ago (2014-09-15 12:58:00 UTC) #2
sky
https://codereview.chromium.org/568823003/diff/100001/chrome/common/web_application_info.h File chrome/common/web_application_info.h (right): https://codereview.chromium.org/568823003/diff/100001/chrome/common/web_application_info.h#newcode29 chrome/common/web_application_info.h:29: Unspecified, See style guide for proper names. And I ...
6 years, 3 months ago (2014-09-15 16:11:02 UTC) #3
mlamouri (slow - plz ping)
Comments applied. PTAL. https://codereview.chromium.org/568823003/diff/100001/chrome/common/web_application_info.h File chrome/common/web_application_info.h (right): https://codereview.chromium.org/568823003/diff/100001/chrome/common/web_application_info.h#newcode29 chrome/common/web_application_info.h:29: Unspecified, On 2014/09/15 16:11:02, sky wrote: ...
6 years, 3 months ago (2014-09-15 16:24:17 UTC) #4
mlamouri (slow - plz ping)
Dan, can you have a look at the changes in chrome/browser/android/ A side effect of ...
6 years, 3 months ago (2014-09-15 16:27:24 UTC) #6
mlamouri (slow - plz ping)
-skylined1, +sky@ (don't know what happened...)
6 years, 3 months ago (2014-09-15 16:28:04 UTC) #8
gone
https://codereview.chromium.org/568823003/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java (right): https://codereview.chromium.org/568823003/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java#newcode169 chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java:169: @FlakyTest Seems weird to immediately add a FlakyTest notation. ...
6 years, 3 months ago (2014-09-15 16:55:18 UTC) #9
sky
https://codereview.chromium.org/568823003/diff/120001/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): https://codereview.chromium.org/568823003/diff/120001/chrome/renderer/chrome_render_view_observer.cc#newcode262 chrome/renderer/chrome_render_view_observer.cc:262: it = web_app_info.icons.erase(it); This now skips an element when ...
6 years, 3 months ago (2014-09-15 17:13:19 UTC) #10
mlamouri (slow - plz ping)
PTAL, also -dcheng, +palmer https://codereview.chromium.org/568823003/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java (right): https://codereview.chromium.org/568823003/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java#newcode169 chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java:169: @FlakyTest On 2014/09/15 16:55:17, dfalcantara ...
6 years, 3 months ago (2014-09-15 20:30:54 UTC) #12
palmer
https://codereview.chromium.org/568823003/diff/160001/chrome/browser/android/shortcut_helper.cc File chrome/browser/android/shortcut_helper.cc (right): https://codereview.chromium.org/568823003/diff/160001/chrome/browser/android/shortcut_helper.cc#newcode61 chrome/browser/android/shortcut_helper.cc:61: const WebApplicationInfo& received_web_app_info) { You should also check the ...
6 years, 3 months ago (2014-09-15 21:02:45 UTC) #13
jackhou1
I'm not too familiar with the renderer stuff, but LGTM for: chrome/browser/extensions/ chrome/browser/web_applications/
6 years, 3 months ago (2014-09-16 01:03:27 UTC) #14
mlamouri (slow - plz ping)
https://codereview.chromium.org/568823003/diff/160001/chrome/browser/android/shortcut_helper.cc File chrome/browser/android/shortcut_helper.cc (right): https://codereview.chromium.org/568823003/diff/160001/chrome/browser/android/shortcut_helper.cc#newcode61 chrome/browser/android/shortcut_helper.cc:61: const WebApplicationInfo& received_web_app_info) { On 2014/09/15 21:02:44, Chromium Palmer ...
6 years, 3 months ago (2014-09-16 14:38:22 UTC) #15
mlamouri (slow - plz ping)
PTAL
6 years, 3 months ago (2014-09-16 14:38:35 UTC) #16
gone
lgtm on my end.
6 years, 3 months ago (2014-09-16 17:51:02 UTC) #17
palmer
> > You should also check the sanity of the GURL (length? valid scheme?), and ...
6 years, 3 months ago (2014-09-16 18:00:20 UTC) #18
mlamouri (slow - plz ping)
On 2014/09/16 18:00:20, Chromium Palmer wrote: > > > You should also check the sanity ...
6 years, 3 months ago (2014-09-16 18:01:10 UTC) #19
palmer
OK. LGTM.
6 years, 3 months ago (2014-09-16 18:02:00 UTC) #20
sky
LGTM with the following change https://codereview.chromium.org/568823003/diff/180001/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): https://codereview.chromium.org/568823003/diff/180001/chrome/renderer/chrome_render_view_observer.cc#newcode261 chrome/renderer/chrome_render_view_observer.cc:261: it->url.SchemeIs(url::kDataScheme) ? it = ...
6 years, 3 months ago (2014-09-16 18:07:30 UTC) #21
mlamouri (slow - plz ping)
https://codereview.chromium.org/568823003/diff/180001/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): https://codereview.chromium.org/568823003/diff/180001/chrome/renderer/chrome_render_view_observer.cc#newcode261 chrome/renderer/chrome_render_view_observer.cc:261: it->url.SchemeIs(url::kDataScheme) ? it = web_app_info.icons.erase(it) On 2014/09/16 18:07:30, sky ...
6 years, 3 months ago (2014-09-16 18:29:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/568823003/200001
6 years, 3 months ago (2014-09-16 18:29:56 UTC) #24
commit-bot: I haz the power
Committed patchset #11 (id:200001) as 49d9e7594aa614f5012df69df0a3ca6841eb3a8b
6 years, 3 months ago (2014-09-16 19:30:46 UTC) #25
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 19:32:14 UTC) #26
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/89ccc63d3e5ad5893006d0e445750ecdfcb2c5ac
Cr-Commit-Position: refs/heads/master@{#295125}

Powered by Google App Engine
This is Rietveld 408576698