// Copyright 2015 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 CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_ #define CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_ #include "chrome/common/resource_usage_reporter.mojom.h" #include "third_party/WebKit/public/web/WebCache.h" #include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h" namespace mojo { template <> struct TypeConverter { static ResourceTypeStatsPtr Convert( const blink::WebCache::ResourceTypeStats& obj); }; template <> struct TypeConverter { static blink::WebCache::ResourceTypeStats Convert( const ResourceTypeStats& obj); }; } // namespace mojo #endif // CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_