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