| Index: media/mojo/common/mojo_type_trait.h
|
| diff --git a/media/mojo/common/mojo_type_trait.h b/media/mojo/common/mojo_type_trait.h
|
| deleted file mode 100644
|
| index d945e27779c971965fa5218316b1097d6d68662f..0000000000000000000000000000000000000000
|
| --- a/media/mojo/common/mojo_type_trait.h
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright 2014 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 MEDIA_MOJO_COMMON_MOJO_TYPE_TRAIT_H_
|
| -#define MEDIA_MOJO_COMMON_MOJO_TYPE_TRAIT_H_
|
| -
|
| -#include "media/base/media_keys.h"
|
| -#include "mojo/public/cpp/bindings/array.h"
|
| -#include "mojo/public/cpp/bindings/string.h"
|
| -
|
| -namespace media {
|
| -
|
| -// A trait struct to help get the corresponding mojo type for a native type.
|
| -// By default the mojo type is the same as the native type. This works well for
|
| -// primitive types like integers.
|
| -template <typename T>
|
| -struct MojoTypeTrait {
|
| - typedef T MojoType;
|
| - static MojoType DefaultValue() { return MojoType(); }
|
| -};
|
| -
|
| -// Specialization for string.
|
| -template <>
|
| -struct MojoTypeTrait<std::string> {
|
| - typedef mojo::String MojoType;
|
| - static MojoType DefaultValue() { return MojoType(); }
|
| -};
|
| -
|
| -} // namespace media
|
| -
|
| -#endif // MEDIA_MOJO_COMMON_MOJO_TYPE_TRAIT_H_
|
|
|