| 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_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/chromeos/gdata/drive_cache.h" | 12 #include "chrome/browser/chromeos/gdata/drive_cache.h" |
| 13 #include "chrome/browser/chromeos/gdata/drive_resource_metadata.h" | 13 #include "chrome/browser/chromeos/gdata/drive_resource_metadata.h" |
| 14 #include "chrome/browser/chromeos/gdata/gdata_operations.h" | 14 #include "chrome/browser/google_apis/gdata_operations.h" |
| 15 | 15 |
| 16 namespace gdata { | 16 namespace gdata { |
| 17 | 17 |
| 18 class DocumentEntry; | 18 class DocumentEntry; |
| 19 class DriveEntryProto; | 19 class DriveEntryProto; |
| 20 | 20 |
| 21 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; | 21 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; |
| 22 | 22 |
| 23 // Information about search result returned by Search Async callback. | 23 // Information about search result returned by Search Async callback. |
| 24 // This is data needed to create a file system entry that will be used by file | 24 // This is data needed to create a file system entry that will be used by file |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 virtual void UpdateEntryData(const std::string& resource_id, | 368 virtual void UpdateEntryData(const std::string& resource_id, |
| 369 const std::string& md5, | 369 const std::string& md5, |
| 370 scoped_ptr<DocumentEntry> entry, | 370 scoped_ptr<DocumentEntry> entry, |
| 371 const FilePath& file_content_path, | 371 const FilePath& file_content_path, |
| 372 const base::Closure& callback) = 0; | 372 const base::Closure& callback) = 0; |
| 373 }; | 373 }; |
| 374 | 374 |
| 375 } // namespace gdata | 375 } // namespace gdata |
| 376 | 376 |
| 377 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ | 377 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ |
| OLD | NEW |