blob: bf33f66fe4e3c7f05dc1e28af83752198a5eed55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/plugin/host_plugin_logger.h"
#include "remoting/host/plugin/host_script_object.h"
namespace remoting {
HostPluginLogger::HostPluginLogger(HostNPScriptObject* scriptable)
: scriptable_object_(scriptable) {
}
HostPluginLogger::~HostPluginLogger() {
}
void HostPluginLogger::LogToUI(const std::string& message) {
scriptable_object_->LogDebugInfo(message);
}
} // namespace remoting
|