chromium/remoting/base/service_urls.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/base/service_urls.h"

#include "base/check.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "remoting/base/buildflags.h"

#if BUILDFLAG(REMOTING_INTERNAL)
#include "remoting/internal/base/service_urls.h"
#endif

// Configurable service data.
// Debug builds should default to the autopush environment (can be configured
// via cmd line switch).  Release builds will point to the prod environment.
#if defined(NDEBUG)
constexpr char kFtlServerEndpoint[] = "instantmessaging-pa.googleapis.com";
constexpr char kRemotingCloudEndpoint[] = "remotingcloud-pa.googleapis.com";
constexpr char kRemotingServerEndpoint[] = "remotedesktop-pa.googleapis.com";
#else
constexpr char kFtlServerEndpoint[] =;
constexpr char kRemotingCloudEndpoint[] =;
constexpr char kRemotingServerEndpoint[] =;
#endif

// Command line switches.
#if !defined(NDEBUG)
constexpr char kFtlServerEndpointSwitch[] =;
constexpr char kRemotingCloudEndpointSwitch[] =;
constexpr char kRemotingServerEndpointSwitch[] =;
#endif  // !defined(NDEBUG)

namespace remoting {

ServiceUrls::ServiceUrls()
    :{}

ServiceUrls::~ServiceUrls() = default;

ServiceUrls* remoting::ServiceUrls::GetInstance() {}

}  // namespace remoting