Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: remoting/client/plugin/pepper_client_logger.cc

Issue 7355011: Modify Chromoting logging to hook into base logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/plugin/pepper_client_logger.h ('k') | remoting/client/plugin/pepper_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_client_logger.cc
diff --git a/remoting/client/plugin/pepper_client_logger.cc b/remoting/client/plugin/pepper_client_logger.cc
deleted file mode 100644
index 3e13c70ef2749a616d949ff571f77959d645c96d..0000000000000000000000000000000000000000
--- a/remoting/client/plugin/pepper_client_logger.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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/client/plugin/pepper_client_logger.h"
-
-//#include <stdarg.h> // va_list
-
-//#include "base/logging.h"
-#include "base/message_loop.h"
-//#include "base/stringprintf.h"
-#include "remoting/client/plugin/chromoting_instance.h"
-
-namespace remoting {
-
-PepperClientLogger::PepperClientLogger(ChromotingInstance* instance)
- : instance_(instance) {
- SetThread(MessageLoop::current());
-}
-
-PepperClientLogger::~PepperClientLogger() {
-}
-
-void PepperClientLogger::LogToUI(const std::string& message) {
- instance_->GetScriptableObject()->LogDebugInfo(message);
-}
-
-} // namespace remoting
« no previous file with comments | « remoting/client/plugin/pepper_client_logger.h ('k') | remoting/client/plugin/pepper_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698