| 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 // Implements the Chrome Extensions Debugger API. | 5 // Implements the Chrome Extensions Debugger API. |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/api/debugger/debugger_api.h" | 7 #include "chrome/browser/extensions/api/debugger/debugger_api.h" |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "content/public/browser/favicon_status.h" | 37 #include "content/public/browser/favicon_status.h" |
| 38 #include "content/public/browser/navigation_entry.h" | 38 #include "content/public/browser/navigation_entry.h" |
| 39 #include "content/public/browser/notification_service.h" | 39 #include "content/public/browser/notification_service.h" |
| 40 #include "content/public/browser/notification_source.h" | 40 #include "content/public/browser/notification_source.h" |
| 41 #include "content/public/browser/render_process_host.h" | 41 #include "content/public/browser/render_process_host.h" |
| 42 #include "content/public/browser/render_view_host.h" | 42 #include "content/public/browser/render_view_host.h" |
| 43 #include "content/public/browser/render_widget_host.h" | 43 #include "content/public/browser/render_widget_host.h" |
| 44 #include "content/public/browser/web_contents.h" | 44 #include "content/public/browser/web_contents.h" |
| 45 #include "content/public/browser/worker_service.h" | 45 #include "content/public/browser/worker_service.h" |
| 46 #include "content/public/common/content_client.h" | 46 #include "content/public/common/content_client.h" |
| 47 #include "content/public/common/url_constants.h" | 47 #include "content/public/common/url_utils.h" |
| 48 #include "extensions/common/error_utils.h" | 48 #include "extensions/common/error_utils.h" |
| 49 #include "grit/generated_resources.h" | 49 #include "grit/generated_resources.h" |
| 50 #include "ui/base/l10n/l10n_util.h" | 50 #include "ui/base/l10n/l10n_util.h" |
| 51 #include "webkit/glue/webkit_glue.h" | 51 #include "webkit/glue/webkit_glue.h" |
| 52 | 52 |
| 53 using content::DevToolsAgentHost; | 53 using content::DevToolsAgentHost; |
| 54 using content::DevToolsClientHost; | 54 using content::DevToolsClientHost; |
| 55 using content::DevToolsManager; | 55 using content::DevToolsManager; |
| 56 using content::RenderProcessHost; | 56 using content::RenderProcessHost; |
| 57 using content::RenderViewHost; | 57 using content::RenderViewHost; |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 WorkerService::GetInstance()->GetWorkers(); | 768 WorkerService::GetInstance()->GetWorkers(); |
| 769 | 769 |
| 770 for (size_t i = 0; i < worker_info.size(); ++i) | 770 for (size_t i = 0; i < worker_info.size(); ++i) |
| 771 list->Append(SerializeWorkerInfo(worker_info[i])); | 771 list->Append(SerializeWorkerInfo(worker_info[i])); |
| 772 } | 772 } |
| 773 | 773 |
| 774 void DebuggerGetTargetsFunction::SendTargetList(base::ListValue* list) { | 774 void DebuggerGetTargetsFunction::SendTargetList(base::ListValue* list) { |
| 775 SetResult(list); | 775 SetResult(list); |
| 776 SendResponse(true); | 776 SendResponse(true); |
| 777 } | 777 } |
| OLD | NEW |