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

Side by Side Diff: remoting/host/logging_mac.cc

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
« no previous file with comments | « remoting/host/local_input_monitor_x11.cc ('k') | remoting/host/mac/me2me_preference_pane.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "remoting/host/logging.h" 5 #include "remoting/host/logging.h"
6 6
7 #include <asl.h> 7 #include <asl.h>
8 #include <stddef.h>
8 #include <sys/types.h> 9 #include <sys/types.h>
9 #include <unistd.h> 10 #include <unistd.h>
10 11
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/scoped_generic.h" 13 #include "base/scoped_generic.h"
13 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
14 15
15 namespace remoting { 16 namespace remoting {
16 17
17 namespace { 18 namespace {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Write logs to the system debug log. 91 // Write logs to the system debug log.
91 logging::LoggingSettings settings; 92 logging::LoggingSettings settings;
92 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; 93 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
93 logging::InitLogging(settings); 94 logging::InitLogging(settings);
94 95
95 // Write logs to syslog as well. 96 // Write logs to syslog as well.
96 logging::SetLogMessageHandler(LogMessageToAsl); 97 logging::SetLogMessageHandler(LogMessageToAsl);
97 } 98 }
98 99
99 } // namespace remoting 100 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/local_input_monitor_x11.cc ('k') | remoting/host/mac/me2me_preference_pane.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698