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 "content/browser/devtools/devtools_agent_host_impl.h" | 5 #include "content/browser/devtools/devtools_agent_host_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 194 } |
195 | 195 |
196 std::string DevToolsAgentHostImpl::GetDescription() { | 196 std::string DevToolsAgentHostImpl::GetDescription() { |
197 return ""; | 197 return ""; |
198 } | 198 } |
199 | 199 |
200 GURL DevToolsAgentHostImpl::GetFaviconURL() { | 200 GURL DevToolsAgentHostImpl::GetFaviconURL() { |
201 return GURL(); | 201 return GURL(); |
202 } | 202 } |
203 | 203 |
| 204 std::string DevToolsAgentHostImpl::GetFrontendURL() { |
| 205 return std::string(); |
| 206 } |
| 207 |
204 base::TimeTicks DevToolsAgentHostImpl::GetLastActivityTime() { | 208 base::TimeTicks DevToolsAgentHostImpl::GetLastActivityTime() { |
205 return base::TimeTicks(); | 209 return base::TimeTicks(); |
206 } | 210 } |
207 | 211 |
208 BrowserContext* DevToolsAgentHostImpl::GetBrowserContext() { | 212 BrowserContext* DevToolsAgentHostImpl::GetBrowserContext() { |
209 return nullptr; | 213 return nullptr; |
210 } | 214 } |
211 | 215 |
212 WebContents* DevToolsAgentHostImpl::GetWebContents() { | 216 WebContents* DevToolsAgentHostImpl::GetWebContents() { |
213 return NULL; | 217 return NULL; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 if (message_buffer_.size() != message_buffer_size_) | 358 if (message_buffer_.size() != message_buffer_size_) |
355 return false; | 359 return false; |
356 callback_.Run(chunk.session_id, message_buffer_); | 360 callback_.Run(chunk.session_id, message_buffer_); |
357 message_buffer_ = std::string(); | 361 message_buffer_ = std::string(); |
358 message_buffer_size_ = 0; | 362 message_buffer_size_ = 0; |
359 } | 363 } |
360 return true; | 364 return true; |
361 } | 365 } |
362 | 366 |
363 } // namespace content | 367 } // namespace content |
OLD | NEW |