New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 670798 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug


Sign in to add a comment

Ash shouldn't connect to chrome directly

Project Member Reported by jamescook@chromium.org, Dec 2 2016

Issue description

This is a tracking bug.

In particular, it shouldn't do ConnectToInterface("content_browser", &interface_ptr). Ash knowing about chrome/content_browser is a layering violation.

One goal of mustash is to make ash be able to run without chrome. In most cases we can have chrome call an ash::mojom::FooInterface::SetClient() method to set itself as the client.

Code in ash can just check if its client interface pointer is bound. For example:

if (foo_interface_client_)
  foo_interface_client_->DoBar();

See SystemTrayController / SystemTrayClient for an example.

See blocked-on bugs for things we need to fix.

 
Blockedon: 670789 670805 670775 670801

Comment 2 by msw@chromium.org, Dec 9 2016

Should we have more blocked-on bugs for KeyboardUIService?
(I'm guessing mash::mojom::Launchable is okay as-is...)

Comment 3 by sky@chromium.org, Dec 9 2016

Adding more specific bugs SGTM.
Blockedon: 672888
Filed bug for keyboard.

Comment 5 by sky@chromium.org, Jan 23 2017

Status: Fixed (was: Assigned)
Moving to fixed as all blockers have now been fixed.
Does ash/BUILD.gn still need a dep on content/public/common:service_names?

https://cs.chromium.org/chromium/src/ash/BUILD.gn?type=cs&q=src/ash/BUILD.gn&sq=package:chromium&l=862

Project Member

Comment 7 by bugdroid1@chromium.org, Jan 23 2017

Comment 8 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 9 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 11 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)
Components: -Internals>MUS Internals>Services>WindowService

Sign in to add a comment