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 "remoting/host/plugin/host_script_object.h" | 5 #include "remoting/host/plugin/host_script_object.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/message_loop/message_loop_proxy.h" | 11 #include "base/message_loop/message_loop_proxy.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "base/strings/sys_string_conversions.h" | 14 #include "base/strings/sys_string_conversions.h" |
15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/threading/platform_thread.h" | 16 #include "base/threading/platform_thread.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
19 #include "remoting/base/auth_token_util.h" | 19 #include "remoting/base/auth_token_util.h" |
20 #include "remoting/base/auto_thread.h" | 20 #include "remoting/base/auto_thread.h" |
(...skipping 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1697 } | 1697 } |
1698 | 1698 |
1699 void HostNPScriptObject::SetException(const std::string& exception_string) { | 1699 void HostNPScriptObject::SetException(const std::string& exception_string) { |
1700 DCHECK(plugin_task_runner_->BelongsToCurrentThread()); | 1700 DCHECK(plugin_task_runner_->BelongsToCurrentThread()); |
1701 | 1701 |
1702 g_npnetscape_funcs->setexception(parent_, exception_string.c_str()); | 1702 g_npnetscape_funcs->setexception(parent_, exception_string.c_str()); |
1703 LOG(INFO) << exception_string; | 1703 LOG(INFO) << exception_string; |
1704 } | 1704 } |
1705 | 1705 |
1706 } // namespace remoting | 1706 } // namespace remoting |
OLD | NEW |