| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_CLIENT_IMPL_H_ | 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_CLIENT_IMPL_H_ |
| 6 #define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_CLIENT_IMPL_H_ | 6 #define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <unordered_map> | 8 #include <unordered_map> |
| 9 | 9 |
| 10 #include "content/public/browser/devtools_agent_host_client.h" | 10 #include "content/public/browser/devtools_agent_host_client.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 void SendMessageWithoutParams(const char* method, CallbackType callback); | 145 void SendMessageWithoutParams(const char* method, CallbackType callback); |
| 146 | 146 |
| 147 bool DispatchMessageReply(const base::DictionaryValue& message_dict); | 147 bool DispatchMessageReply(const base::DictionaryValue& message_dict); |
| 148 bool DispatchEvent(const base::DictionaryValue& message_dict); | 148 bool DispatchEvent(const base::DictionaryValue& message_dict); |
| 149 | 149 |
| 150 content::DevToolsAgentHost* agent_host_; // Not owned. | 150 content::DevToolsAgentHost* agent_host_; // Not owned. |
| 151 int next_message_id_; | 151 int next_message_id_; |
| 152 std::unordered_map<int, Callback> pending_messages_; | 152 std::unordered_map<int, Callback> pending_messages_; |
| 153 std::unordered_map<std::string, Callback> event_handlers_; | 153 std::unordered_map<std::string, Callback> event_handlers_; |
| 154 | 154 |
| 155 accessibility::Domain accessibility_domain_; | 155 accessibility::ExperimentalDomain accessibility_domain_; |
| 156 animation::Domain animation_domain_; | 156 animation::ExperimentalDomain animation_domain_; |
| 157 application_cache::Domain application_cache_domain_; | 157 application_cache::ExperimentalDomain application_cache_domain_; |
| 158 cache_storage::Domain cache_storage_domain_; | 158 cache_storage::ExperimentalDomain cache_storage_domain_; |
| 159 console::Domain console_domain_; | 159 console::ExperimentalDomain console_domain_; |
| 160 css::Domain css_domain_; | 160 css::ExperimentalDomain css_domain_; |
| 161 database::Domain database_domain_; | 161 database::ExperimentalDomain database_domain_; |
| 162 debugger::Domain debugger_domain_; | 162 debugger::ExperimentalDomain debugger_domain_; |
| 163 device_orientation::Domain device_orientation_domain_; | 163 device_orientation::ExperimentalDomain device_orientation_domain_; |
| 164 dom_debugger::Domain dom_debugger_domain_; | 164 dom_debugger::ExperimentalDomain dom_debugger_domain_; |
| 165 dom::Domain dom_domain_; | 165 dom::ExperimentalDomain dom_domain_; |
| 166 dom_storage::Domain dom_storage_domain_; | 166 dom_storage::ExperimentalDomain dom_storage_domain_; |
| 167 emulation::Domain emulation_domain_; | 167 emulation::ExperimentalDomain emulation_domain_; |
| 168 heap_profiler::Domain heap_profiler_domain_; | 168 heap_profiler::ExperimentalDomain heap_profiler_domain_; |
| 169 indexeddb::Domain indexeddb_domain_; | 169 indexeddb::ExperimentalDomain indexeddb_domain_; |
| 170 input::Domain input_domain_; | 170 input::ExperimentalDomain input_domain_; |
| 171 inspector::Domain inspector_domain_; | 171 inspector::ExperimentalDomain inspector_domain_; |
| 172 io::Domain io_domain_; | 172 io::ExperimentalDomain io_domain_; |
| 173 layer_tree::Domain layer_tree_domain_; | 173 layer_tree::ExperimentalDomain layer_tree_domain_; |
| 174 memory::Domain memory_domain_; | 174 memory::ExperimentalDomain memory_domain_; |
| 175 network::Domain network_domain_; | 175 network::ExperimentalDomain network_domain_; |
| 176 page::Domain page_domain_; | 176 page::ExperimentalDomain page_domain_; |
| 177 profiler::Domain profiler_domain_; | 177 profiler::ExperimentalDomain profiler_domain_; |
| 178 rendering::Domain rendering_domain_; | 178 rendering::ExperimentalDomain rendering_domain_; |
| 179 runtime::Domain runtime_domain_; | 179 runtime::ExperimentalDomain runtime_domain_; |
| 180 security::Domain security_domain_; | 180 security::ExperimentalDomain security_domain_; |
| 181 service_worker::Domain service_worker_domain_; | 181 service_worker::ExperimentalDomain service_worker_domain_; |
| 182 tracing::Domain tracing_domain_; | 182 tracing::ExperimentalDomain tracing_domain_; |
| 183 worker::Domain worker_domain_; | 183 worker::ExperimentalDomain worker_domain_; |
| 184 | 184 |
| 185 DISALLOW_COPY_AND_ASSIGN(HeadlessDevToolsClientImpl); | 185 DISALLOW_COPY_AND_ASSIGN(HeadlessDevToolsClientImpl); |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace headless | 188 } // namespace headless |
| 189 | 189 |
| 190 #endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_CLIENT_IMPL_H_ | 190 #endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_CLIENT_IMPL_H_ |
| OLD | NEW |