| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/automation/testing_automation_provider.h" | 5 #include "chrome/browser/automation/testing_automation_provider.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1802 &TestingAutomationProvider::GetPrivateNetworkInfo; | 1802 &TestingAutomationProvider::GetPrivateNetworkInfo; |
| 1803 handler_map["ConnectToPrivateNetwork"] = | 1803 handler_map["ConnectToPrivateNetwork"] = |
| 1804 &TestingAutomationProvider::ConnectToPrivateNetwork; | 1804 &TestingAutomationProvider::ConnectToPrivateNetwork; |
| 1805 handler_map["DisconnectFromPrivateNetwork"] = | 1805 handler_map["DisconnectFromPrivateNetwork"] = |
| 1806 &TestingAutomationProvider::DisconnectFromPrivateNetwork; | 1806 &TestingAutomationProvider::DisconnectFromPrivateNetwork; |
| 1807 | 1807 |
| 1808 handler_map["IsEnterpriseDevice"] = | 1808 handler_map["IsEnterpriseDevice"] = |
| 1809 &TestingAutomationProvider::IsEnterpriseDevice; | 1809 &TestingAutomationProvider::IsEnterpriseDevice; |
| 1810 handler_map["GetEnterprisePolicyInfo"] = | 1810 handler_map["GetEnterprisePolicyInfo"] = |
| 1811 &TestingAutomationProvider::GetEnterprisePolicyInfo; | 1811 &TestingAutomationProvider::GetEnterprisePolicyInfo; |
| 1812 handler_map["EnrollEnterpriseDevice"] = | 1812 handler_map["ShowEnterpriseWizard"] = |
| 1813 &TestingAutomationProvider::EnrollEnterpriseDevice; | 1813 &TestingAutomationProvider::ShowEnterpriseWizard; |
| 1814 handler_map["AddEnrollmentObserver"] = |
| 1815 &TestingAutomationProvider::AddEnrollmentObserver; |
| 1814 | 1816 |
| 1815 handler_map["EnableSpokenFeedback"] = | 1817 handler_map["EnableSpokenFeedback"] = |
| 1816 &TestingAutomationProvider::EnableSpokenFeedback; | 1818 &TestingAutomationProvider::EnableSpokenFeedback; |
| 1817 handler_map["IsSpokenFeedbackEnabled"] = | 1819 handler_map["IsSpokenFeedbackEnabled"] = |
| 1818 &TestingAutomationProvider::IsSpokenFeedbackEnabled; | 1820 &TestingAutomationProvider::IsSpokenFeedbackEnabled; |
| 1819 | 1821 |
| 1820 handler_map["GetTimeInfo"] = &TestingAutomationProvider::GetTimeInfo; | 1822 handler_map["GetTimeInfo"] = &TestingAutomationProvider::GetTimeInfo; |
| 1821 handler_map["SetTimezone"] = &TestingAutomationProvider::SetTimezone; | 1823 handler_map["SetTimezone"] = &TestingAutomationProvider::SetTimezone; |
| 1822 | 1824 |
| 1823 handler_map["GetUpdateInfo"] = &TestingAutomationProvider::GetUpdateInfo; | 1825 handler_map["GetUpdateInfo"] = &TestingAutomationProvider::GetUpdateInfo; |
| (...skipping 4740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6564 | 6566 |
| 6565 void TestingAutomationProvider::WaitForProcessLauncherThreadToGoIdle( | 6567 void TestingAutomationProvider::WaitForProcessLauncherThreadToGoIdle( |
| 6566 IPC::Message* reply_message) { | 6568 IPC::Message* reply_message) { |
| 6567 new WaitForProcessLauncherThreadToGoIdleObserver(this, reply_message); | 6569 new WaitForProcessLauncherThreadToGoIdleObserver(this, reply_message); |
| 6568 } | 6570 } |
| 6569 | 6571 |
| 6570 void TestingAutomationProvider::OnRemoveProvider() { | 6572 void TestingAutomationProvider::OnRemoveProvider() { |
| 6571 if (g_browser_process) | 6573 if (g_browser_process) |
| 6572 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); | 6574 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); |
| 6573 } | 6575 } |
| OLD | NEW |