summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/document_entry_conversion.h
blob: afa157eb7b28de377d080d8a2ae72dee5c3bdb65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2012 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_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_
#define CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_

#include <string>

#include "base/memory/scoped_ptr.h"

class GURL;

namespace google_apis {
class DocumentEntry;
}

namespace drive {

class DriveEntryProto;

// Converts a google_apis::DocumentEntry into a DriveEntryProto.
DriveEntryProto ConvertDocumentEntryToDriveEntryProto(
    const google_apis::DocumentEntry& document_entry);

}  // namespace drive

#endif  // CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_