Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / extensions / api / developer_private / developer_private_mangle.h
blob12f38e4544b5276cc2f221d0017115a8ec757bcf
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 {
12 namespace api {
13 namespace developer_private {
14 struct ItemInfo;
15 struct ExtensionInfo;
19 namespace developer_private_mangle {
21 // Converts a developer_private::ExtensionInfo into a
22 // developer_private::ItemInfo for compatability with deprecated API
23 // functions.
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_