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

Issue 395163002: Bundle the network service in the shell on Android. (Closed)

Created:
6 years, 5 months ago by qsr
Modified:
6 years, 5 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Bundle the network service in the shell on Android. Also, remove the profile service that was only used by the network service because it couldn't access the path service on android. R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283730

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -268 lines) Patch
M mojo/mojo.gyp View 5 chunks +9 lines, -7 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 chunks +17 lines, -31 lines 0 comments Download
M mojo/services/network/main.cc View 1 2 3 1 chunk +3 lines, -26 lines 0 comments Download
D mojo/services/profile/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D mojo/services/profile/profile_service_impl.h View 1 chunk +0 lines, -33 lines 0 comments Download
D mojo/services/profile/profile_service_impl.cc View 1 2 3 1 chunk +0 lines, -54 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 chunks +16 lines, -5 lines 0 comments Download
A + mojo/shell/network_service_loader.h View 1 4 chunks +11 lines, -8 lines 0 comments Download
A + mojo/shell/network_service_loader.cc View 1 2 chunks +24 lines, -8 lines 0 comments Download
D mojo/shell/profile_service_loader.h View 1 chunk +0 lines, -48 lines 0 comments Download
D mojo/shell/profile_service_loader.cc View 1 chunk +0 lines, -45 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
qsr
6 years, 5 months ago (2014-07-16 16:37:22 UTC) #1
darin (slow to review)
I don't think we want to kill off the profile service. That is still useful ...
6 years, 5 months ago (2014-07-16 17:16:30 UTC) #2
darin (slow to review)
On 2014/07/16 17:16:30, darin wrote: > I don't think we want to kill off the ...
6 years, 5 months ago (2014-07-16 17:19:53 UTC) #3
darin (slow to review)
LGTM (we can always resurrect the profile service later if needed.)
6 years, 5 months ago (2014-07-16 17:38:33 UTC) #4
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 5 months ago (2014-07-16 17:40:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/395163002/40001
6 years, 5 months ago (2014-07-16 17:42:50 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 17:58:10 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 18:04:54 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/170741) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/159788) ios_rel_device_ninja ...
6 years, 5 months ago (2014-07-16 18:04:56 UTC) #9
qsr
The CQ bit was checked by qsr@chromium.org
6 years, 5 months ago (2014-07-17 07:49:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/395163002/60001
6 years, 5 months ago (2014-07-17 07:50:41 UTC) #11
commit-bot: I haz the power
Change committed as 283730
6 years, 5 months ago (2014-07-17 09:51:39 UTC) #12
tim (not reviewing)
On 2014/07/17 09:51:39, I haz the power (commit-bot) wrote: > Change committed as 283730 We ...
6 years, 5 months ago (2014-07-19 21:10:04 UTC) #13
darin (slow to review)
On 2014/07/19 21:10:04, timsteele wrote: > On 2014/07/17 09:51:39, I haz the power (commit-bot) wrote: ...
6 years, 5 months ago (2014-07-19 21:14:32 UTC) #14
tim (not reviewing)
6 years, 5 months ago (2014-07-19 22:07:39 UTC) #15
Message was sent while issue was closed.
On 2014/07/19 21:14:32, darin wrote:
> On 2014/07/19 21:10:04, timsteele wrote:
> > On 2014/07/17 09:51:39, I haz the power (commit-bot) wrote:
> > > Change committed as 283730
> > 
> > We might want to consider this for non-android; it would help the static
> build. 
> > See https://codereview.chromium.org/397733003/. tl;dr is that even today, it
> is
> > not possible to shut down the network service gracefully on desktop static
> > builds because it unloads it's copy of base:: before the thread is killed
off
> > (and TLS dtors fire pointing to that copy of base). If it were bundled, we'd
> be
> > okay.  I have an alternative static-build only fix in the above mentioned
CL,
> > but I'm not sure which solution I prefer.
> 
> It's a goal to support using base in statically linked DSO builds of Mojo
Apps.
> The
> base used by such an app could differ from the base used by mojo_shell. We
might
> choose to link some Mojo Apps into mojo_shell, when not strictly required, for
> performance reasons. Or, maybe we will just combine a bunch of them into a
> single
> DSO that ships with the system. Those should only be optimization
> considerations--
> not requirements.

OK, thanks for the clarifications. Will continue with other cl!

Powered by Google App Engine
This is Rietveld 408576698