1 // Copyright 2015 The Chromium 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.
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_MANGLE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_MANGLE_H_
8 #include "base/memory/linked_ptr.h"
10 namespace extensions
{
13 namespace developer_private
{
19 namespace developer_private_mangle
{
21 // Converts a developer_private::ExtensionInfo into a
22 // developer_private::ItemInfo for compatability with deprecated API
24 linked_ptr
<api::developer_private::ItemInfo
> MangleExtensionInfo(
25 const api::developer_private::ExtensionInfo
& info
);
27 } // namespace developer_private_mangle
28 } // namespace extensions
30 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_MANGLE_H_