| Index: remoting/host/setup/me2me_native_messaging_host_main.cc
|
| diff --git a/remoting/host/setup/me2me_native_messaging_host_main.cc b/remoting/host/setup/me2me_native_messaging_host_main.cc
|
| index d3e48a1046d595b7a38e3084307a954f69baea3d..f9e102da59d5825bd61fdb6adb782474744f8218 100644
|
| --- a/remoting/host/setup/me2me_native_messaging_host_main.cc
|
| +++ b/remoting/host/setup/me2me_native_messaging_host_main.cc
|
| @@ -4,8 +4,9 @@
|
|
|
| #include "remoting/host/setup/me2me_native_messaging_host_main.h"
|
|
|
| -#include <stdint.h>
|
| -
|
| +#include <cstdint>
|
| +#include <memory>
|
| +#include <string>
|
| #include <utility>
|
|
|
| #include "base/at_exit.h"
|
| @@ -26,6 +27,7 @@
|
| #include "remoting/host/pairing_registry_delegate.h"
|
| #include "remoting/host/setup/gaia_oauth_client.h"
|
| #include "remoting/host/setup/me2me_native_messaging_host.h"
|
| +#include "remoting/host/switches.h"
|
| #include "remoting/host/usage_stats_consent.h"
|
|
|
| #if defined(OS_MACOSX)
|
| @@ -44,12 +46,6 @@
|
|
|
| using remoting::protocol::PairingRegistry;
|
|
|
| -namespace {
|
| -
|
| -const char kParentWindowSwitchName[] = "parent-window";
|
| -
|
| -} // namespace
|
| -
|
| namespace remoting {
|
|
|
| int StartMe2MeNativeMessagingHost() {
|
| @@ -117,7 +113,7 @@ int StartMe2MeNativeMessagingHost() {
|
| #if defined(OS_WIN)
|
| needs_elevation = !IsProcessElevated();
|
|
|
| - if (command_line->HasSwitch(kElevatingSwitchName)) {
|
| + if (command_line->HasSwitch(kElevateSwitchName)) {
|
| DCHECK(!needs_elevation);
|
|
|
| // The "elevate" switch is always accompanied by the "input" and "output"
|
|
|