| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 | 11 |
| 12 class GURL; | 12 class GURL; |
| 13 | 13 |
| 14 namespace gdata { | 14 namespace gdata { |
| 15 class DocumentEntry; |
| 16 } |
| 15 | 17 |
| 16 class DocumentEntry; | 18 namespace drive { |
| 19 |
| 17 class DriveEntryProto; | 20 class DriveEntryProto; |
| 18 | 21 |
| 19 // Converts a DocumentEntry into a DriveEntryProto. | 22 // Converts a gdata::DocumentEntry into a DriveEntryProto. |
| 20 DriveEntryProto ConvertDocumentEntryToDriveEntryProto( | 23 DriveEntryProto ConvertDocumentEntryToDriveEntryProto( |
| 21 const DocumentEntry& document_entry); | 24 const gdata::DocumentEntry& document_entry); |
| 22 | 25 |
| 23 } // namespace gdata | 26 } // namespace drive |
| 24 | 27 |
| 25 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_ | 28 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DOCUMENT_ENTRY_CONVERSION_H_ |
| OLD | NEW |