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/chromeos/gdata/gdata_operations.h" |
15 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h" | |
16 | 15 |
17 namespace gdata { | 16 namespace gdata { |
18 | 17 |
19 class DocumentEntry; | 18 class DocumentEntry; |
20 class DriveEntryProto; | 19 class DriveEntryProto; |
21 | 20 |
22 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; | 21 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; |
23 | 22 |
24 // Information about search result returned by Search Async callback. | 23 // Information about search result returned by Search Async callback. |
25 // 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 virtual void UpdateEntryData(const std::string& resource_id, | 365 virtual void UpdateEntryData(const std::string& resource_id, |
367 const std::string& md5, | 366 const std::string& md5, |
368 scoped_ptr<DocumentEntry> entry, | 367 scoped_ptr<DocumentEntry> entry, |
369 const FilePath& file_content_path, | 368 const FilePath& file_content_path, |
370 const base::Closure& callback) = 0; | 369 const base::Closure& callback) = 0; |
371 }; | 370 }; |
372 | 371 |
373 } // namespace gdata | 372 } // namespace gdata |
374 | 373 |
375 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ | 374 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_INTERFACE_H_ |
OLD | NEW |