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

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

Issue 24579003: Clean up remaining unused globals (on mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: staticmedia Created 7 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file implements a standalone host process for Me2Me. 5 // This file implements a standalone host process for Me2Me.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 #if defined(TOOLKIT_GTK) 97 #if defined(TOOLKIT_GTK)
98 #include "ui/gfx/gtk_util.h" 98 #include "ui/gfx/gtk_util.h"
99 #endif // defined(TOOLKIT_GTK) 99 #endif // defined(TOOLKIT_GTK)
100 100
101 namespace { 101 namespace {
102 102
103 // This is used for tagging system event logs. 103 // This is used for tagging system event logs.
104 const char kApplicationName[] = "chromoting"; 104 const char kApplicationName[] = "chromoting";
105 105
106 #if defined(OS_LINUX)
106 // The command line switch used to pass name of the pipe to capture audio on 107 // The command line switch used to pass name of the pipe to capture audio on
107 // linux. 108 // linux.
108 const char kAudioPipeSwitchName[] = "audio-pipe-name"; 109 const char kAudioPipeSwitchName[] = "audio-pipe-name";
110 #endif // defined(OS_LINUX)
109 111
110 // The command line switch used by the parent to request the host to signal it 112 // The command line switch used by the parent to request the host to signal it
111 // when it is successfully started. 113 // when it is successfully started.
112 const char kSignalParentSwitchName[] = "signal-parent"; 114 const char kSignalParentSwitchName[] = "signal-parent";
113 115
114 // Value used for --host-config option to indicate that the path must be read 116 // Value used for --host-config option to indicate that the path must be read
115 // from stdin. 117 // from stdin.
116 const char kStdinConfigPath[] = "-"; 118 const char kStdinConfigPath[] = "-";
117 119
118 void QuitMessageLoop(base::MessageLoop* message_loop) { 120 void QuitMessageLoop(base::MessageLoop* message_loop) {
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 return exit_code; 1183 return exit_code;
1182 } 1184 }
1183 1185
1184 } // namespace remoting 1186 } // namespace remoting
1185 1187
1186 #if !defined(OS_WIN) 1188 #if !defined(OS_WIN)
1187 int main(int argc, char** argv) { 1189 int main(int argc, char** argv) {
1188 return remoting::HostMain(argc, argv); 1190 return remoting::HostMain(argc, argv);
1189 } 1191 }
1190 #endif // !defined(OS_WIN) 1192 #endif // !defined(OS_WIN)
OLDNEW
« no previous file with comments | « remoting/host/register_support_host_request_unittest.cc ('k') | remoting/host/server_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698