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

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

Issue 798173002: Add support for internal overrides for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback. Created 6 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/DEPS ('k') | remoting/remoting_host.gypi » ('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 (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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 #include <commctrl.h> 97 #include <commctrl.h>
98 #include "base/win/registry.h" 98 #include "base/win/registry.h"
99 #include "base/win/scoped_handle.h" 99 #include "base/win/scoped_handle.h"
100 #include "remoting/host/pairing_registry_delegate_win.h" 100 #include "remoting/host/pairing_registry_delegate_win.h"
101 #include "remoting/host/win/session_desktop_environment.h" 101 #include "remoting/host/win/session_desktop_environment.h"
102 #endif // defined(OS_WIN) 102 #endif // defined(OS_WIN)
103 103
104 using remoting::protocol::PairingRegistry; 104 using remoting::protocol::PairingRegistry;
105 using remoting::protocol::NetworkSettings; 105 using remoting::protocol::NetworkSettings;
106 106
107 #if defined(USE_REMOTING_MACOSX_INTERNAL)
108 #include "remoting/tools/internal/internal_mac-inl.h"
109 #endif
110
107 namespace { 111 namespace {
108 112
109 // This is used for tagging system event logs. 113 // This is used for tagging system event logs.
110 const char kApplicationName[] = "chromoting"; 114 const char kApplicationName[] = "chromoting";
111 115
112 #if defined(OS_LINUX) 116 #if defined(OS_LINUX)
113 // The command line switch used to pass name of the pipe to capture audio on 117 // The command line switch used to pass name of the pipe to capture audio on
114 // linux. 118 // linux.
115 const char kAudioPipeSwitchName[] = "audio-pipe-name"; 119 const char kAudioPipeSwitchName[] = "audio-pipe-name";
116 120
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 base::TimeDelta::FromSeconds(kShutdownTimeoutSeconds)); 1503 base::TimeDelta::FromSeconds(kShutdownTimeoutSeconds));
1500 new HostProcess(context.Pass(), &exit_code, &shutdown_watchdog); 1504 new HostProcess(context.Pass(), &exit_code, &shutdown_watchdog);
1501 1505
1502 // Run the main (also UI) message loop until the host no longer needs it. 1506 // Run the main (also UI) message loop until the host no longer needs it.
1503 message_loop.Run(); 1507 message_loop.Run();
1504 1508
1505 return exit_code; 1509 return exit_code;
1506 } 1510 }
1507 1511
1508 } // namespace remoting 1512 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/DEPS ('k') | remoting/remoting_host.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698