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

Side by Side Diff: remoting/host/native_messaging/log_message_handler.h

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef REMOTING_HOST_NATIVE_MESSAGIN_LOG_HANDLER_H_ 5 #ifndef REMOTING_HOST_NATIVE_MESSAGIN_LOG_HANDLER_H_
6 #define REMOTING_HOST_NATIVE_MESSAGIN_LOG_HANDLER_H_ 6 #define REMOTING_HOST_NATIVE_MESSAGIN_LOG_HANDLER_H_
7 7
8 #include <stddef.h>
9
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
10 #include "base/values.h" 12 #include "base/values.h"
11 13
12 namespace remoting { 14 namespace remoting {
13 15
14 // Helper class for logging::SetLogMessageHandler to deliver log messages to 16 // Helper class for logging::SetLogMessageHandler to deliver log messages to
15 // a consistent thread in a thread-safe way and in a format suitable for sending 17 // a consistent thread in a thread-safe way and in a format suitable for sending
16 // over a Native Messaging channel. 18 // over a Native Messaging channel.
17 class LogMessageHandler { 19 class LogMessageHandler {
(...skipping 19 matching lines...) Expand all
37 Delegate delegate_; 39 Delegate delegate_;
38 bool suppress_logging_; 40 bool suppress_logging_;
39 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; 41 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
40 logging::LogMessageHandlerFunction previous_log_message_handler_; 42 logging::LogMessageHandlerFunction previous_log_message_handler_;
41 base::WeakPtrFactory<LogMessageHandler> weak_ptr_factory_; 43 base::WeakPtrFactory<LogMessageHandler> weak_ptr_factory_;
42 }; 44 };
43 45
44 } // namespace remoting 46 } // namespace remoting
45 47
46 #endif 48 #endif
OLDNEW
« no previous file with comments | « remoting/host/mouse_shape_pump_unittest.cc ('k') | remoting/host/native_messaging/native_messaging_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698