summaryrefslogtreecommitdiffstats
path: root/chrome/browser/service
Commit message (Collapse)AuthorAgeFilesLines
* Enable ServiceProcessControlTest.LaunchTwicehclam@chromium.org2010-09-031-3/+5
| | | | | | | | | | | Quit the message loop by posting a quit task instead of calling quit directly. BUG= TEST= Review URL: http://codereview.chromium.org/3342012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58510 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix for browser_testshclam@chromium.org2010-09-021-5/+1
| | | | | | | | | | | | | ServiceProcesControlTest.LaunchTwice is timing out. Disable the test for now. TBR=tc@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/3349005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58291 0039d316-1c4b-4281-b951-d872f2087c98
* Don't launch service process if it's already runninghclam@chromium.org2010-09-013-25/+42
| | | | | | | | | | | | | | BUG=52891 TEST=browser_tests --gtest_filter=ServiceProcess* Removed ServiceProcessControl::Connect() and just have a Launch() method. The Launch() method will connect to the service process if the it has already been launched but not connected. The method will simply return if the process is already been launched connected. Review URL: http://codereview.chromium.org/3306001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58265 0039d316-1c4b-4281-b951-d872f2087c98
* Registered the service process to AutoRun (for Windows) if any service ↵sanjeevr@chromium.org2010-09-011-2/+1
| | | | | | | | | | | (CloudPrint or Remoting) is enabled. When all services are disabled, we delete the AutoRun key. Also remembered the enabled state of the Cloud Print Proxy in the service prefs. BUG=None TEST=After enabling cloud print or chromoting on Windows, the service process should auto start on user login. Review URL: http://codereview.chromium.org/3257011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58246 0039d316-1c4b-4281-b951-d872f2087c98
* Don't shutdown service process when browser shuts downhclam@chromium.org2010-09-011-6/+2
| | | | | | | | | | | | Keep the service process running when browser shuts down. BUG=52891 TBR=sanjeevr TEST=none Review URL: http://codereview.chromium.org/3307001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58116 0039d316-1c4b-4281-b951-d872f2087c98
* Use named events instead of lock files for service processhclam@chromium.org2010-08-311-6/+0
| | | | | | | | | | | Use named events to signal that a service process is running. BUG=52891 TEST=browser_tests --gtest_filter=ServiceProcess* Review URL: http://codereview.chromium.org/3268003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58041 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit r56600 - Start/stop service process when browser starts and stophclam@chromium.org2010-08-232-3/+22
| | | | | | | | | | | | | | | | | Save the information that the setup of remoting has completed. After setup has been completed we start and stop service process when --enable-remoting presents when browser starts. Also save the information in the service process that host is registered and ready to be used. Again start chromoting host automatically once the host registration is done. BUG=50244, 50242, 50243, 50249 Review URL: http://codereview.chromium.org/3153029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57120 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 6)thestig@chromium.org2010-08-191-0/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3093013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56641 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56600 - ServiceProcessControlBrowserTest.LaunchAndIPC crashes.rvargas@google.com2010-08-182-16/+3
| | | | | | | | | | | | | | | | | | | | Start/stop service process when browser starts and stop Save the information that the setup of remoting has completed. After setup has been completed we start and stop service process when --enable-remoting presents when browser starts. Also save the information in the service process that host is registered and ready to be used. Again start chromoting host automatically once the host registration is done. Review URL: http://codereview.chromium.org/3185015 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3107024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56610 0039d316-1c4b-4281-b951-d872f2087c98
* Start/stop service process when browser starts and stophclam@chromium.org2010-08-182-3/+16
| | | | | | | | | | | | | | | Save the information that the setup of remoting has completed. After setup has been completed we start and stop service process when --enable-remoting presents when browser starts. Also save the information in the service process that host is registered and ready to be used. Again start chromoting host automatically once the host registration is done. Review URL: http://codereview.chromium.org/3185015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56600 0039d316-1c4b-4281-b951-d872f2087c98
* Gaia authentication for access remoting directory and talkhclam@chromium.org2010-08-172-0/+15
| | | | | | | | | | | | | | | | We are now able to access remoting directory token and talk token through the chromoting setup dialog. These information are sent to the service process for enabling the chromoting host and perform the host registration. All the plumbing for starting the service process, enabling the chromoting host through through IPC commands are in place but host registration is stubbed out and will be completed in next patch. Review URL: http://codereview.chromium.org/3176014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56278 0039d316-1c4b-4281-b951-d872f2087c98
* ServiceProcessControl to launch a service process and communicate through IPC.hclam@chromium.org2010-08-125-0/+488
Added two class for use with service process: ServiceProcessControl Used by the browser to launch and connect to the service process, also used to receive messages from the service process. ServiceProcessControlManager A singleton to manage multiple ServicProcessControl. BUG=50244 TEST=browser_tests --gtest_filter=ServiceProcess* Review URL: http://codereview.chromium.org/3032061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55826 0039d316-1c4b-4281-b951-d872f2087c98