summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_remoting__me2me__host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-remoting_host_remoting__me2me__host.cc')
-rw-r--r--www/chromium/files/patch-remoting_host_remoting__me2me__host.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/www/chromium/files/patch-remoting_host_remoting__me2me__host.cc b/www/chromium/files/patch-remoting_host_remoting__me2me__host.cc
index 9a6bfc2baca4..a32651ac406f 100644
--- a/www/chromium/files/patch-remoting_host_remoting__me2me__host.cc
+++ b/www/chromium/files/patch-remoting_host_remoting__me2me__host.cc
@@ -1,6 +1,6 @@
---- remoting/host/remoting_me2me_host.cc.orig 2019-12-16 21:51:27 UTC
+--- remoting/host/remoting_me2me_host.cc.orig 2020-03-03 18:53:55 UTC
+++ remoting/host/remoting_me2me_host.cc
-@@ -121,13 +121,13 @@
+@@ -118,13 +118,13 @@
#include "remoting/host/mac/permission_utils.h"
#endif // defined(OS_MACOSX)
@@ -16,7 +16,7 @@
#if defined(OS_WIN)
#include <commctrl.h>
-@@ -162,11 +162,11 @@ const char kApplicationName[] = "chromoting";
+@@ -159,11 +159,11 @@ const char kApplicationName[] = "chromoting";
const char kStdinConfigPath[] = "-";
#endif // !defined(REMOTING_MULTI_PROCESS)
@@ -30,7 +30,7 @@
#if defined(OS_POSIX)
// The command line switch used to pass name of the unix domain socket used to
-@@ -359,7 +359,7 @@ class HostProcess : public ConfigWatcher::Delegate,
+@@ -356,7 +356,7 @@ class HostProcess : public ConfigWatcher::Delegate,
std::unique_ptr<ChromotingHostContext> context_;
@@ -39,7 +39,7 @@
// Watch for certificate changes and kill the host when changes occur
std::unique_ptr<CertificateWatcher> cert_watcher_;
#endif
-@@ -560,10 +560,10 @@ bool HostProcess::InitWithCommandLine(const base::Comm
+@@ -586,10 +586,10 @@ bool HostProcess::InitWithCommandLine(const base::Comm
enable_window_capture_ = cmd_line->HasSwitch(kWindowIdSwitchName);
if (enable_window_capture_) {
@@ -52,7 +52,7 @@
// uint32_t is large enough to hold window IDs on all platforms.
uint32_t window_id;
-@@ -758,7 +758,7 @@ void HostProcess::CreateAuthenticatorFactory() {
+@@ -784,7 +784,7 @@ void HostProcess::CreateAuthenticatorFactory() {
DCHECK(third_party_auth_config_.token_url.is_valid());
DCHECK(third_party_auth_config_.token_validation_url.is_valid());
@@ -61,7 +61,7 @@
if (!cert_watcher_) {
cert_watcher_.reset(new CertificateWatcher(
base::Bind(&HostProcess::ShutdownHost, this, kSuccessExitCode),
-@@ -844,7 +844,7 @@ void HostProcess::StartOnUiThread() {
+@@ -870,7 +870,7 @@ void HostProcess::StartOnUiThread() {
base::Bind(&HostProcess::OnPolicyUpdate, base::Unretained(this)),
base::Bind(&HostProcess::OnPolicyError, base::Unretained(this)));
@@ -70,7 +70,7 @@
// If an audio pipe is specific on the command-line then initialize
// AudioCapturerLinux to capture from it.
base::FilePath audio_pipe_name = base::CommandLine::ForCurrentProcess()->
-@@ -853,7 +853,7 @@ void HostProcess::StartOnUiThread() {
+@@ -879,7 +879,7 @@ void HostProcess::StartOnUiThread() {
remoting::AudioCapturerLinux::InitializePipeReader(
context_->audio_task_runner(), audio_pipe_name);
}
@@ -79,7 +79,7 @@
#if defined(OS_POSIX)
base::FilePath security_key_socket_name =
-@@ -908,7 +908,7 @@ void HostProcess::ShutdownOnUiThread() {
+@@ -934,7 +934,7 @@ void HostProcess::ShutdownOnUiThread() {
// It is now safe for the HostProcess to be deleted.
self_ = nullptr;
@@ -88,7 +88,7 @@
// Cause the global AudioPipeReader to be freed, otherwise the audio
// thread will remain in-use and prevent the process from exiting.
// TODO(wez): DesktopEnvironmentFactory should own the pipe reader.
-@@ -1537,7 +1537,7 @@ void HostProcess::StartHost() {
+@@ -1538,7 +1538,7 @@ void HostProcess::StartHost() {
host_->AddExtension(std::make_unique<TestEchoExtension>());
// TODO(simonmorris): Get the maximum session duration from a policy.
@@ -97,7 +97,7 @@
host_->SetMaximumSessionDuration(base::TimeDelta::FromHours(20));
#endif
-@@ -1718,7 +1718,7 @@ void HostProcess::OnCrash(const std::string& function_
+@@ -1708,7 +1708,7 @@ void HostProcess::OnCrash(const std::string& function_
int HostProcessMain() {
HOST_LOG << "Starting host process: version " << STRINGIZE(VERSION);