OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // This file provides Drive specific API functions. | 5 // This file provides Drive specific API functions. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ |
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ | 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/files/file.h" | 16 #include "base/files/file.h" |
17 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" | 17 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" |
18 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 18 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
19 #include "components/drive/chromeos/file_system_interface.h" | 19 #include "components/drive/chromeos/file_system_interface.h" |
20 #include "components/drive/file_errors.h" | 20 #include "components/drive/file_errors.h" |
21 | 21 |
22 namespace drive { | 22 namespace drive { |
23 class FileCacheEntry; | |
24 class ResourceEntry; | 23 class ResourceEntry; |
25 struct SearchResultInfo; | 24 struct SearchResultInfo; |
26 } | 25 } |
27 | 26 |
28 namespace google_apis { | 27 namespace google_apis { |
29 class AuthService; | 28 class AuthService; |
30 } | 29 } |
31 | 30 |
32 namespace extensions { | 31 namespace extensions { |
33 | 32 |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 const std::string& access_token); | 257 const std::string& access_token); |
259 | 258 |
260 private: | 259 private: |
261 GURL download_url_; | 260 GURL download_url_; |
262 std::unique_ptr<google_apis::AuthService> auth_service_; | 261 std::unique_ptr<google_apis::AuthService> auth_service_; |
263 }; | 262 }; |
264 | 263 |
265 } // namespace extensions | 264 } // namespace extensions |
266 | 265 |
267 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ | 266 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ |
OLD | NEW |