| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 |
| 5 #include <string> | 7 #include <string> |
| 6 | 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "content/public/child/v8_value_converter.h" | 10 #include "content/public/child/v8_value_converter.h" |
| 9 #include "content/public/renderer/render_thread.h" | 11 #include "content/public/renderer/render_thread.h" |
| 10 #include "extensions/common/extension_messages.h" | 12 #include "extensions/common/extension_messages.h" |
| 11 #include "extensions/renderer/activity_log_converter_strategy.h" | 13 #include "extensions/renderer/activity_log_converter_strategy.h" |
| 12 #include "extensions/renderer/api_activity_logger.h" | 14 #include "extensions/renderer/api_activity_logger.h" |
| 13 #include "extensions/renderer/script_context.h" | 15 #include "extensions/renderer/script_context.h" |
| 14 | 16 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 if (call_type == APICALL) { | 73 if (call_type == APICALL) { |
| 72 content::RenderThread::Get()->Send( | 74 content::RenderThread::Get()->Send( |
| 73 new ExtensionHostMsg_AddAPIActionToActivityLog(ext_id, params)); | 75 new ExtensionHostMsg_AddAPIActionToActivityLog(ext_id, params)); |
| 74 } else if (call_type == EVENT) { | 76 } else if (call_type == EVENT) { |
| 75 content::RenderThread::Get()->Send( | 77 content::RenderThread::Get()->Send( |
| 76 new ExtensionHostMsg_AddEventToActivityLog(ext_id, params)); | 78 new ExtensionHostMsg_AddEventToActivityLog(ext_id, params)); |
| 77 } | 79 } |
| 78 } | 80 } |
| 79 | 81 |
| 80 } // namespace extensions | 82 } // namespace extensions |
| OLD | NEW |