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_FILE_SYSTEM_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_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/drive/file_system_metadata.h" | 12 #include "chrome/browser/chromeos/drive/file_system_metadata.h" |
13 #include "chrome/browser/chromeos/drive/resource_metadata.h" | |
14 #include "components/drive/drive.pb.h" | 13 #include "components/drive/drive.pb.h" |
| 14 #include "components/drive/resource_metadata.h" |
15 #include "google_apis/drive/base_requests.h" | 15 #include "google_apis/drive/base_requests.h" |
16 #include "google_apis/drive/drive_api_requests.h" | 16 #include "google_apis/drive/drive_api_requests.h" |
17 | 17 |
18 namespace drive { | 18 namespace drive { |
19 | 19 |
20 class FileSystemObserver; | 20 class FileSystemObserver; |
21 | 21 |
22 // Information about search result returned by Search Async callback. | 22 // Information about search result returned by Search Async callback. |
23 // This is data needed to create a file system entry that will be used by file | 23 // This is data needed to create a file system entry that will be used by file |
24 // browser. | 24 // browser. |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 // Free drive caches if needed to secure given available spaces. |callback| | 457 // Free drive caches if needed to secure given available spaces. |callback| |
458 // takes whether given bytes are available or not. | 458 // takes whether given bytes are available or not. |
459 virtual void FreeDiskSpaceIfNeededFor( | 459 virtual void FreeDiskSpaceIfNeededFor( |
460 int64 num_bytes, | 460 int64 num_bytes, |
461 const FreeDiskSpaceCallback& callback) = 0; | 461 const FreeDiskSpaceCallback& callback) = 0; |
462 }; | 462 }; |
463 | 463 |
464 } // namespace drive | 464 } // namespace drive |
465 | 465 |
466 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_ | 466 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_ |
OLD | NEW |