| Index: remoting/host/host_attributes_empty.h
|
| diff --git a/remoting/host/host_attributes_empty.h b/remoting/host/host_attributes_empty.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5b2304a442e01b48a6c9f6f486c6f2f34046c533
|
| --- /dev/null
|
| +++ b/remoting/host/host_attributes_empty.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_HOST_HOST_ATTRIBUTES_EMPTY_H_
|
| +#define REMOTING_HOST_HOST_ATTRIBUTES_EMPTY_H_
|
| +
|
| +#include "remoting/host/host_attributes.h"
|
| +
|
| +namespace remoting {
|
| +
|
| +namespace {
|
| +
|
| +inline constexpr bool IsDebug() {
|
| +#if defined(NDEBUG)
|
| + return false;
|
| +#else
|
| + return true;
|
| +#endif
|
| +}
|
| +
|
| +} // namespace
|
| +
|
| +static StaticAttribute kStaticAttributes[] = {
|
| + StaticAttribute::Create( { "Debug-Build", &IsDebug } ),
|
| +};
|
| +
|
| +static constexpr DynamicAttribute kDynamicAttributes[] = {};
|
| +
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_HOST_HOST_ATTRIBUTES_EMPTY_H_
|
|
|