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

Issue 2272813003: Add ARC++ specific fields to launch data for specific apps. (Closed)

Created:
4 years, 4 months ago by rkc
Modified:
4 years, 3 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, extensions-reviews_chromium.org, yusukes+watch_chromium.org, tfarina, hidehiko+watch_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ARC++ specific fields to launch data for specific apps. On devices that have ARC++ available or enabled, certain internal apps need to be able to get this information. Currently these are limited to the GetHelp and the demo app. These are fields we'd like to eventually just expose to all apps but currently security is not comfortable with that yet, so for now, we'll set these flags only for the apps that currently need it. Reviews requested, xiyuan@ - General review. asargent@ - //apps and extension parts lhchavez@ - ARC++ parts sky@ - //chrome/browser/ui R=asargent@chromium.org, lhchavez@chromium.org, sky@chromium.org, xiyuan@chromium.org BUG=640330 Committed: https://crrev.com/3d97de469a486debcb8956de8f7ed679fa862cbf Committed: https://crrev.com/79bf63cbe7a00345f152d0dbb3dc20e24442713f Cr-Original-Commit-Position: refs/heads/master@{#414348} Cr-Commit-Position: refs/heads/master@{#414535}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 12

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 4

Patch Set 6 : win build fix #

Patch Set 7 : crash fix #

Patch Set 8 : chrome build fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -39 lines) Patch
M apps/launcher.h View 1 2 3 4 2 chunks +10 lines, -5 lines 0 comments Download
M apps/launcher.cc View 1 2 3 4 5 6 6 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/apps/app_launch_for_metro_restart_win.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/extensions/app_launch_params.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/app_launch_params.cc View 1 2 3 2 chunks +22 lines, -2 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 2 chunks +5 lines, -8 lines 0 comments Download
M components/arc/arc_bridge_service.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/browser/api/app_runtime/app_runtime_api.h View 2 chunks +2 lines, -1 line 0 comments Download
M extensions/browser/api/app_runtime/app_runtime_api.cc View 1 2 3 4 5 6 2 chunks +6 lines, -7 lines 0 comments Download
M extensions/common/api/app_runtime.idl View 2 chunks +13 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_extension_system.cc View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 44 (13 generated)
rkc
4 years, 4 months ago (2016-08-24 02:17:39 UTC) #1
rkc
I'm still thinking about how to test this. One place seemed like the demo app ...
4 years, 4 months ago (2016-08-24 02:20:48 UTC) #2
Luis Héctor Chávez
https://codereview.chromium.org/2272813003/diff/20001/components/arc/arc_bridge_service.cc File components/arc/arc_bridge_service.cc (right): https://codereview.chromium.org/2272813003/diff/20001/components/arc/arc_bridge_service.cc#newcode58 components/arc/arc_bridge_service.cc:58: // https://codereview.chromium.org/2266123002/ has landed. This has landed :)
4 years, 4 months ago (2016-08-24 15:06:24 UTC) #3
Luis Héctor Chávez
https://codereview.chromium.org/2272813003/diff/20001/components/arc/arc_bridge_service.h File components/arc/arc_bridge_service.h (right): https://codereview.chromium.org/2272813003/diff/20001/components/arc/arc_bridge_service.h#newcode71 components/arc/arc_bridge_service.h:71: static bool IsArcAvailable(); Also, for testing you might want ...
4 years, 4 months ago (2016-08-24 15:10:31 UTC) #4
sky
https://codereview.chromium.org/2272813003/diff/20001/chrome/browser/ui/extensions/app_launch_params.h File chrome/browser/ui/extensions/app_launch_params.h (right): https://codereview.chromium.org/2272813003/diff/20001/chrome/browser/ui/extensions/app_launch_params.h#newcode71 chrome/browser/ui/extensions/app_launch_params.h:71: PlayStoreStatus play_store_status; Isn't arc chromeos specific? In other words, ...
4 years, 4 months ago (2016-08-24 16:20:40 UTC) #5
rkc
https://codereview.chromium.org/2272813003/diff/20001/chrome/browser/ui/extensions/app_launch_params.h File chrome/browser/ui/extensions/app_launch_params.h (right): https://codereview.chromium.org/2272813003/diff/20001/chrome/browser/ui/extensions/app_launch_params.h#newcode71 chrome/browser/ui/extensions/app_launch_params.h:71: PlayStoreStatus play_store_status; On 2016/08/24 16:20:39, sky wrote: > Isn't ...
4 years, 4 months ago (2016-08-24 20:02:36 UTC) #6
Luis Héctor Chávez
components/arc lgtm
4 years, 4 months ago (2016-08-24 20:04:56 UTC) #7
sky
https://codereview.chromium.org/2272813003/diff/20001/chrome/browser/ui/extensions/app_launch_params.h File chrome/browser/ui/extensions/app_launch_params.h (right): https://codereview.chromium.org/2272813003/diff/20001/chrome/browser/ui/extensions/app_launch_params.h#newcode33 chrome/browser/ui/extensions/app_launch_params.h:33: bool set_playstore_status = false); Document what set_playstore_status means. https://codereview.chromium.org/2272813003/diff/20001/chrome/browser/ui/extensions/app_launch_params.h#newcode71 ...
4 years, 4 months ago (2016-08-24 20:34:23 UTC) #8
rkc
https://codereview.chromium.org/2272813003/diff/40001/chrome/browser/ui/extensions/app_launch_params.h File chrome/browser/ui/extensions/app_launch_params.h (right): https://codereview.chromium.org/2272813003/diff/40001/chrome/browser/ui/extensions/app_launch_params.h#newcode19 chrome/browser/ui/extensions/app_launch_params.h:19: using extensions::api::app_runtime::PlayStoreStatus; On 2016/08/24 20:34:23, sky wrote: > Style ...
4 years, 4 months ago (2016-08-24 20:38:06 UTC) #9
xiyuan
https://codereview.chromium.org/2272813003/diff/20001/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/2272813003/diff/20001/apps/launcher.cc#newcode398 apps/launcher.cc:398: launch_data->play_store_status = play_store_status; If this line is skipped (i.e. ...
4 years, 4 months ago (2016-08-24 20:50:31 UTC) #10
sky
LGTM
4 years, 4 months ago (2016-08-24 20:52:32 UTC) #11
rkc
https://codereview.chromium.org/2272813003/diff/20001/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/2272813003/diff/20001/apps/launcher.cc#newcode398 apps/launcher.cc:398: launch_data->play_store_status = play_store_status; On 2016/08/24 20:50:31, xiyuan wrote: > ...
4 years, 4 months ago (2016-08-24 20:56:29 UTC) #12
xiyuan
lgtm
4 years, 4 months ago (2016-08-24 21:00:09 UTC) #13
asargent_no_longer_on_chrome
https://codereview.chromium.org/2272813003/diff/40001/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/2272813003/diff/40001/apps/launcher.cc#newcode212 apps/launcher.cc:212: profile_, app, launch_source_, std::move(launch_data)); can you just use std::move(action_data_) ...
4 years, 4 months ago (2016-08-24 21:50:32 UTC) #14
asargent_no_longer_on_chrome
https://codereview.chromium.org/2272813003/diff/40001/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/2272813003/diff/40001/apps/launcher.cc#newcode212 apps/launcher.cc:212: profile_, app, launch_source_, std::move(launch_data)); On 2016/08/24 21:50:32, Antony Sargent ...
4 years, 4 months ago (2016-08-24 22:01:03 UTC) #15
rkc
https://codereview.chromium.org/2272813003/diff/40001/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/2272813003/diff/40001/apps/launcher.cc#newcode396 apps/launcher.cc:396: base::MakeUnique<app_runtime::LaunchData>(); On 2016/08/24 21:50:32, Antony Sargent wrote: > Not ...
4 years, 4 months ago (2016-08-24 22:05:57 UTC) #16
asargent_no_longer_on_chrome
https://codereview.chromium.org/2272813003/diff/80001/extensions/common/api/app_runtime.idl File extensions/common/api/app_runtime.idl (right): https://codereview.chromium.org/2272813003/diff/80001/extensions/common/api/app_runtime.idl#newcode105 extensions/common/api/app_runtime.idl:105: [nodoc] PlayStoreStatus? playStoreStatus; On 2016/08/24 22:05:57, rkc wrote: > ...
4 years, 4 months ago (2016-08-24 22:37:19 UTC) #17
rkc
https://codereview.chromium.org/2272813003/diff/80001/extensions/common/api/app_runtime.idl File extensions/common/api/app_runtime.idl (right): https://codereview.chromium.org/2272813003/diff/80001/extensions/common/api/app_runtime.idl#newcode105 extensions/common/api/app_runtime.idl:105: [nodoc] PlayStoreStatus? playStoreStatus; On 2016/08/24 22:37:19, Antony Sargent wrote: ...
4 years, 4 months ago (2016-08-24 22:41:38 UTC) #18
asargent_no_longer_on_chrome
On 2016/08/24 22:41:38, rkc wrote: > https://codereview.chromium.org/2272813003/diff/80001/extensions/common/api/app_runtime.idl > File extensions/common/api/app_runtime.idl (right): > > https://codereview.chromium.org/2272813003/diff/80001/extensions/common/api/app_runtime.idl#newcode105 > ...
4 years, 4 months ago (2016-08-24 23:13:38 UTC) #19
rkc
On 2016/08/24 23:13:38, Antony Sargent wrote: > On 2016/08/24 22:41:38, rkc wrote: > > > ...
4 years, 4 months ago (2016-08-24 23:16:42 UTC) #20
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/2272813003/80001
4 years, 4 months ago (2016-08-24 23:17:56 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/245332)
4 years, 4 months ago (2016-08-24 23:55:56 UTC) #25
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/2272813003/120001
4 years, 4 months ago (2016-08-25 00:21:34 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/118243) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-25 01:12:04 UTC) #30
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/2272813003/120001
4 years, 4 months ago (2016-08-25 06:19:28 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-08-25 07:06:18 UTC) #33
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/3d97de469a486debcb8956de8f7ed679fa862cbf Cr-Commit-Position: refs/heads/master@{#414348}
4 years, 3 months ago (2016-08-25 07:08:16 UTC) #35
haraken
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2276293002/ by haraken@chromium.org. ...
4 years, 3 months ago (2016-08-25 07:46:45 UTC) #36
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/2272813003/140001
4 years, 3 months ago (2016-08-25 20:07:03 UTC) #40
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-08-25 21:07:52 UTC) #42
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 21:10:23 UTC) #44
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/79bf63cbe7a00345f152d0dbb3dc20e24442713f
Cr-Commit-Position: refs/heads/master@{#414535}

Powered by Google App Engine
This is Rietveld 408576698