1// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROMIUMOS_WIDE_PROFILING_MYBASE_BASE_MACROS_H_
6#define CHROMIUMOS_WIDE_PROFILING_MYBASE_BASE_MACROS_H_
7
8#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
9  TypeName(const TypeName&);               \
10  void operator=(const TypeName&)
11
12#define arraysize(x) (sizeof(x) / sizeof(*x))
13
14#endif  // CHROMIUMOS_WIDE_PROFILING_MYBASE_BASE_MACROS_H_
15