resource_entry_conversion.h revision 2a99a7e74a7f215066514fe81d2bfa6639d9eddd
1// Copyright (c) 2012 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.
4
5#ifndef CHROME_BROWSER_CHROMEOS_DRIVE_RESOURCE_ENTRY_CONVERSION_H_
6#define CHROME_BROWSER_CHROMEOS_DRIVE_RESOURCE_ENTRY_CONVERSION_H_
7
8namespace google_apis {
9class ResourceEntry;
10}
11
12namespace drive {
13
14class DriveEntryProto;
15
16// Converts a google_apis::ResourceEntry into a DriveEntryProto.
17DriveEntryProto ConvertResourceEntryToDriveEntryProto(
18    const google_apis::ResourceEntry& resource_entry);
19
20}  // namespace drive
21
22#endif  // CHROME_BROWSER_CHROMEOS_DRIVE_RESOURCE_ENTRY_CONVERSION_H_
23