summaryrefslogtreecommitdiffstats
path: root/mojo/service_manager
Commit message (Collapse)AuthorAgeFilesLines
* Adds ability to load services on background threadsky@chromium.org2014-05-064-2/+152
| | | | | | | | | | | | | | | | | | And enables this for the native viewport. Currently the native viewport implementation can end up synchronously waiting for messages. This means if the viewmanager (which uses the native viewport) and native viewport end up on the same thread they can easily deadlock. For now I'm moving native viewport to its own thread. Long term native viewport should live in its own process (according to piman). BUG=365012 TEST=none R=davemoore@chromium.org Review URL: https://codereview.chromium.org/263163005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268471 0039d316-1c4b-4281-b951-d872f2087c98
* Changes view manager test to connect via shellsky@chromium.org2014-04-292-8/+58
| | | | | | | | | | | | | | | | | Previously code was linking with ViewManager, now I'm connecting through the shell. As part of this I'm adding a general class that should make it easy to connect to any server through the shell. For the time being I'm making the shell explicitly link with the viewmanager. Eventually that'll have to change. BUG=365012 TEST=covered by tests R=davemoore@chromium.org Review URL: https://codereview.chromium.org/256133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266937 0039d316-1c4b-4281-b951-d872f2087c98
* Make ServiceManager own its ServiceLoadersdavemoore@chromium.org2014-04-213-95/+143
| | | | | | | | | R=viettrungluu@chromium.org, viettrungluu BUG= Review URL: https://codereview.chromium.org/242203009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265020 0039d316-1c4b-4281-b951-d872f2087c98
* Change Service<> to ServiceConnection<> and ServiceFactory<> to ↵davemoore@chromium.org2014-04-181-7/+8
| | | | | | | | | | | ServiceConnector<> R=darin@chromium.org, ben BUG= Review URL: https://codereview.chromium.org/242213005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264879 0039d316-1c4b-4281-b951-d872f2087c98
* Interceptor test for the mojo spy.cpu@chromium.org2014-04-111-0/+42
| | | | | | | | | | | | | Makes sure the interceptor is called with reasonable parameters. more context on this CL https://codereview.chromium.org/225203002/ BUG=360188 TEST=indeed it is a test R=DaveMoore Review URL: https://codereview.chromium.org/228763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263337 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo Spy core first CL. Introduces mojo::Spy filescpu@chromium.org2014-04-072-2/+25
| | | | | | | | | | | | | | Currently only the most basic interception of message pipes. See design document: https://docs.google.com/a/chromium.org/document/d/11FKYXf9mSohlsgl4JmGlyWE1ScX3DKdssdjub63tkwA/edit#heading=h.fi6hmvi95gtz BUG=360188 TEST=none Review URL: https://codereview.chromium.org/225203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262209 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: Move mojo/public/bindings/*.h to mojo/public/cpp/bindings/*.h.viettrungluu@chromium.org2014-04-012-5/+5
| | | | | | | | | | I'll do bindings/{lib,tests} separately. R=darin@chromium.org Review URL: https://codereview.chromium.org/218613010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260865 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: Move mojo/public/shell to mojo/public/{cpp,interfaces}/shell.viettrungluu@chromium.org2014-03-313-4/+4
| | | | | | | | R=darin@chromium.org Review URL: https://codereview.chromium.org/219583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260627 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: Move public/environment to public/cpp/environment.viettrungluu@chromium.org2014-03-291-1/+1
| | | | | | | | R=darin@chromium.org Review URL: https://codereview.chromium.org/218043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260362 0039d316-1c4b-4281-b951-d872f2087c98
* Change ServiceManager::SetLoaderForUrl() to SetLoaderForScheme()davemoore@chromium.org2014-03-283-26/+100
| | | | | | | | | BUG=None R=viettrungluu@chromium.org, viettrungluu Review URL: https://codereview.chromium.org/214513009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260253 0039d316-1c4b-4281-b951-d872f2087c98
* Add creation of ServiceManager to Content (2nd try)davemoore@chromium.org2014-03-275-12/+77
| | | | | | | | | | | Original cl: https://codereview.chromium.org/187183002/ BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/213313004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259779 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Add creation of ServiceManager to Content ↵vandebo@chromium.org2014-03-214-60/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/187183002/) Reason for revert: Tests fail on Mac Original issue's description: > Add creation of ServiceManager to Content > > BUG=None > TEST=Mojo.Init > R=jam@chromium.org, sky@chromium.org, jam > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258438 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258607 TBR=jam@chromium.org,sky@chromium.org,davemoore@chromium.org NOTREECHECKS=true NOTRY=true BUG=None Review URL: https://codereview.chromium.org/208223006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258624 0039d316-1c4b-4281-b951-d872f2087c98
* Add creation of ServiceManager to Contentdavemoore@chromium.org2014-03-214-4/+60
| | | | | | | | | | | | BUG=None TEST=Mojo.Init R=jam@chromium.org, sky@chromium.org, jam Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258438 Review URL: https://codereview.chromium.org/187183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258607 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 258438 "Add creation of ServiceManager to Content"davemoore@chromium.org2014-03-204-60/+4
| | | | | | | | | | | | | | | | > Add creation of ServiceManager to Content > > BUG=None > TEST=Mojo.Init > R=jam@chromium.org, sky@chromium.org, jam > > Review URL: https://codereview.chromium.org/187183002 TBR=davemoore@chromium.org Review URL: https://codereview.chromium.org/206503008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258439 0039d316-1c4b-4281-b951-d872f2087c98
* Add creation of ServiceManager to Contentdavemoore@chromium.org2014-03-204-4/+60
| | | | | | | | | | BUG=None TEST=Mojo.Init R=jam@chromium.org, sky@chromium.org, jam Review URL: https://codereview.chromium.org/187183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258438 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: Cleanup: MOJO_OVERRIDE -> OVERRIDE in places where we use base/.viettrungluu@chromium.org2014-03-181-2/+3
| | | | | | | | | | | (mojo/public/ has MOJO_OVERRIDE, since it can't use base/, but we should use the regular OVERRIDE where we can use base/.) R=sky@chromium.org Review URL: https://codereview.chromium.org/202733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257665 0039d316-1c4b-4281-b951-d872f2087c98
* Add ServiceManager::GetInstance() and change ServiceManager::Loader to ↵davemoore@chromium.org2014-03-044-32/+58
| | | | | | | | | | | | ServiceLoader BUG=None TESTS=Existing R=darin@chromium.org, darin Review URL: https://codereview.chromium.org/185553012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254783 0039d316-1c4b-4281-b951-d872f2087c98
* Move service_manager to top level dirdavemoore@chromium.org2014-02-274-0/+334
BUG=None TEST=Existing TBR=darin Review URL: https://codereview.chromium.org/180243020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253973 0039d316-1c4b-4281-b951-d872f2087c98