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

Side by Side Diff: remoting/host/it2me/it2me_native_messaging_host_main.cc

Issue 282063005: Pull out common code from client and host versions of ServerLogEntry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move ServerLogEntry to jingle_glue Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/it2me/it2me_host.cc ('k') | remoting/host/log_to_server.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/it2me/it2me_native_messaging_host_main.h" 5 #include "remoting/host/it2me/it2me_native_messaging_host_main.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/i18n/icu_util.h" 9 #include "base/i18n/icu_util.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "media/base/media.h" 12 #include "media/base/media.h"
13 #include "net/socket/ssl_server_socket.h" 13 #include "net/socket/ssl_server_socket.h"
14 #include "remoting/base/breakpad.h" 14 #include "remoting/base/breakpad.h"
15 #include "remoting/base/resources.h" 15 #include "remoting/base/resources.h"
16 #include "remoting/host/host_exit_codes.h"
16 #include "remoting/host/it2me/it2me_native_messaging_host.h" 17 #include "remoting/host/it2me/it2me_native_messaging_host.h"
17 #include "remoting/host/logging.h" 18 #include "remoting/host/logging.h"
18 #include "remoting/host/usage_stats_consent.h" 19 #include "remoting/host/usage_stats_consent.h"
19 20
20 #if defined(OS_LINUX) 21 #if defined(OS_LINUX)
21 #include <gtk/gtk.h> 22 #include <gtk/gtk.h>
22 #endif // defined(OS_LINUX) 23 #endif // defined(OS_LINUX)
23 24
24 #if defined(OS_MACOSX) 25 #if defined(OS_MACOSX)
25 #include "base/mac/scoped_nsautorelease_pool.h" 26 #include "base/mac/scoped_nsautorelease_pool.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // This object instance is required by Chrome code (such as MessageLoop). 131 // This object instance is required by Chrome code (such as MessageLoop).
131 base::AtExitManager exit_manager; 132 base::AtExitManager exit_manager;
132 133
133 CommandLine::Init(argc, argv); 134 CommandLine::Init(argc, argv);
134 remoting::InitHostLogging(); 135 remoting::InitHostLogging();
135 136
136 return StartIt2MeNativeMessagingHost(); 137 return StartIt2MeNativeMessagingHost();
137 } 138 }
138 139
139 } // namespace remoting 140 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/it2me/it2me_host.cc ('k') | remoting/host/log_to_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698