Home
last modified time | relevance | path

Searched refs:ServiceProcessControl (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/chrome/browser/service_process/
Dservice_process_control.cc34 ServiceProcessControl::ServiceProcessControl() { in ServiceProcessControl() function in ServiceProcessControl
37 ServiceProcessControl::~ServiceProcessControl() { in ~ServiceProcessControl()
40 void ServiceProcessControl::ConnectInternal() { in ConnectInternal()
60 void ServiceProcessControl::SetChannel(IPC::ChannelProxy* channel) { in SetChannel()
64 void ServiceProcessControl::RunConnectDoneTasks() { in RunConnectDoneTasks()
84 void ServiceProcessControl::RunAllTasksHelper(TaskList* task_list) { in RunAllTasksHelper()
92 bool ServiceProcessControl::IsConnected() const { in IsConnected()
96 void ServiceProcessControl::Launch(const base::Closure& success_task, in Launch()
157 launcher_->Run(base::Bind(&ServiceProcessControl::OnProcessLaunched, in Launch()
161 void ServiceProcessControl::Disconnect() { in Disconnect()
[all …]
Dservice_process_control_browsertest.cc46 ServiceProcessControl::GetInstance()->Launch( in LaunchServiceProcessControl()
68 ServiceProcessControl::GetInstance()->Disconnect(); in Disconnect()
76 if (ServiceProcessControl::GetInstance()->IsConnected()) in TearDown()
77 EXPECT_TRUE(ServiceProcessControl::GetInstance()->Shutdown()); in TearDown()
147 ASSERT_TRUE(ServiceProcessControl::GetInstance()->IsConnected()); in IN_PROC_BROWSER_TEST_F()
148 ServiceProcessControl::GetInstance()->GetCloudPrintProxyInfo( in IN_PROC_BROWSER_TEST_F()
153 EXPECT_TRUE(ServiceProcessControl::GetInstance()->Shutdown()); in IN_PROC_BROWSER_TEST_F()
160 ASSERT_TRUE(ServiceProcessControl::GetInstance()->IsConnected()); in IN_PROC_BROWSER_TEST_F()
161 ServiceProcessControl::GetInstance()->GetCloudPrintProxyInfo( in IN_PROC_BROWSER_TEST_F()
166 EXPECT_TRUE(ServiceProcessControl::GetInstance()->Shutdown()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dservice_process_control.h42 class ServiceProcessControl : public IPC::Sender,
64 typedef IDMap<ServiceProcessControl>::iterator iterator;
70 static ServiceProcessControl* GetInstance();
133 : public base::RefCountedThreadSafe<ServiceProcessControl::Launcher> {
135 Launcher(ServiceProcessControl* process, CommandLine* cmd_line);
144 friend class base::RefCountedThreadSafe<ServiceProcessControl::Launcher>;
154 ServiceProcessControl* process_;
165 ServiceProcessControl();
166 virtual ~ServiceProcessControl();
168 friend struct DefaultSingletonTraits<ServiceProcessControl>;
Dservice_process_control_mac.mm16 void ServiceProcessControl::Launcher::DoRun() {
/external/chromium/chrome/browser/service/
Dservice_process_control.cc26 ServiceProcessControl::ServiceProcessControl(Profile* profile) in ServiceProcessControl() function in ServiceProcessControl
30 ServiceProcessControl::~ServiceProcessControl() { in ~ServiceProcessControl()
36 void ServiceProcessControl::ConnectInternal() { in ConnectInternal()
57 void ServiceProcessControl::RunConnectDoneTasks() { in RunConnectDoneTasks()
86 void ServiceProcessControl::RunAllTasksHelper(TaskList* task_list) { in RunAllTasksHelper()
95 void ServiceProcessControl::Launch(Task* success_task, Task* failure_task) { in Launch()
169 NewRunnableMethod(this, &ServiceProcessControl::OnProcessLaunched)); in Launch()
172 void ServiceProcessControl::OnProcessLaunched() { in OnProcessLaunched()
188 bool ServiceProcessControl::OnMessageReceived(const IPC::Message& message) { in OnMessageReceived()
190 IPC_BEGIN_MESSAGE_MAP(ServiceProcessControl, message) in OnMessageReceived()
[all …]
Dservice_process_control.h40 class ServiceProcessControl : public IPC::Channel::Sender,
44 typedef IDMap<ServiceProcessControl>::iterator iterator;
60 explicit ServiceProcessControl(Profile* profile);
61 virtual ~ServiceProcessControl();
136 : public base::RefCountedThreadSafe<ServiceProcessControl::Launcher> {
138 Launcher(ServiceProcessControl* process, CommandLine* cmd_line);
147 friend class base::RefCountedThreadSafe<ServiceProcessControl::Launcher>;
156 ServiceProcessControl* process_;
Dservice_process_control_manager.h11 class ServiceProcessControl; variable
18 typedef std::vector<ServiceProcessControl*> ServiceProcessControlList;
29 ServiceProcessControl* GetProcessControl(Profile* profile);
Dservice_process_control_manager.cc20 ServiceProcessControl* ServiceProcessControlManager::GetProcessControl( in GetProcessControl()
33 ServiceProcessControl* process = new ServiceProcessControl(profile); in GetProcessControl()
Dservice_process_control_browsertest.cc37 ServiceProcessControl* process = in LaunchServiceProcessControl()
100 ServiceProcessControl* process() { return process_; } in process()
103 ServiceProcessControl* process_;
163 ServiceProcessControl* process = in IN_PROC_BROWSER_TEST_F()
188 ServiceProcessControl* process = in IN_PROC_BROWSER_TEST_F()
Dservice_process_control_mac.mm13 void ServiceProcessControl::Launcher::DoRun() {
/external/chromium_org/chrome/browser/printing/cloud_print/
Dcloud_print_proxy_service.cc49 ServiceProcessControl::SERVICE_EVENT_INITIALIZE, in Initialize()
50 ServiceProcessControl::SERVICE_EVENT_MAX); in Initialize()
60 ServiceProcessControl::SERVICE_EVENT_ENABLED_ON_LAUNCH, in Initialize()
61 ServiceProcessControl::SERVICE_EVENT_MAX); in Initialize()
94 ServiceProcessControl::SERVICE_EVENT_ENABLE, in EnableForUserWithRobot()
95 ServiceProcessControl::SERVICE_EVENT_MAX); in EnableForUserWithRobot()
106 ServiceProcessControl::SERVICE_EVENT_DISABLE, in DisableForUser()
107 ServiceProcessControl::SERVICE_EVENT_MAX); in DisableForUser()
120 ServiceProcessControl::SERVICE_EVENT_DISABLE_BY_POLICY, in ApplyCloudPrintConnectorPolicy()
121 ServiceProcessControl::SERVICE_EVENT_MAX); in ApplyCloudPrintConnectorPolicy()
[all …]
Dcloud_print_proxy_service.h19 class ServiceProcessControl; variable
94 virtual ServiceProcessControl* GetServiceProcessControl();
Dcloud_print_proxy_service_unittest.cc41 class MockServiceProcessControl : public ServiceProcessControl {
186 virtual ServiceProcessControl* GetServiceProcessControl() OVERRIDE { in GetServiceProcessControl()
/external/chromium/chrome/browser/printing/cloud_print/
Dcloud_print_proxy_service.cc146 ServiceProcessControl* process_control = in RefreshCloudPrintProxyStatus()
157 ServiceProcessControl* process_control = in EnableCloudPrintProxy()
166 ServiceProcessControl* process_control = in DisableCloudPrintProxy()
180 ServiceProcessControl* process_control = in InvokeServiceTask()
Dcloud_print_setup_flow.h24 class ServiceProcessControl; variable
139 ServiceProcessControl* process_control_;
/external/chromium/chrome/browser/remoting/
Dremoting_options_handler.h20 class RemotingOptionsHandler : public ServiceProcessControl::MessageHandler {
35 ServiceProcessControl* process_control_;
Dsetup_flow_start_host_step.h19 public ServiceProcessControl::MessageHandler {
39 ServiceProcessControl* process_control_;
Dsetup_flow_get_status_step.h18 public ServiceProcessControl::MessageHandler {
40 ServiceProcessControl* process_control_;
Dsetup_flow.h15 class ServiceProcessControl; variable
/external/chromium_org/chrome/browser/printing/cloud_print/test/
Dcloud_print_proxy_process_browsertest.cc447 ServiceProcessControl::GetInstance()->SetChannel( in WaitForConnect()
450 ServiceProcessControl::GetInstance(), in WaitForConnect()
455 return ServiceProcessControl::GetInstance()->Send(message); in Send()
/external/chromium_org/chrome/browser/
Dbrowser_shutdown.cc133 ServiceProcessControl::GetInstance()->Disconnect(); in ShutdownPreThreadsStop()
/external/chromium/chrome/browser/ui/webui/options/
Dadvanced_options_handler.cc526 ServiceProcessControl* process_control = in DisableRemoting()
/external/chromium/chrome/browser/
Dbrowser_main.cc1765 ServiceProcessControl* control = in BrowserMain()
/external/chromium_org/chrome/browser/metrics/
Dmetrics_service.cc1409 if (!ServiceProcessControl::GetInstance()->GetHistograms(callback, timeout)) { in OnMemoryDetailCollectionDone()