resource_entry_conversion.h revision 558790d6acca3451cf3a6b497803a5f07d0bec58
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 ResourceEntry;
15
16// Converts a google_apis::ResourceEntry into a drive::ResourceEntry.
17bool ConvertToResourceEntry(const google_apis::ResourceEntry& input,
18                            ResourceEntry* output);
19
20}  // namespace drive
21
22#endif  // CHROME_BROWSER_CHROMEOS_DRIVE_RESOURCE_ENTRY_CONVERSION_H_
23