| 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 <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "chrome/browser/chromeos/drive/file_errors.h" | |
| 16 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 15 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
| 17 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" | 16 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" |
| 18 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 17 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
| 18 #include "components/drive/file_errors.h" |
| 19 | 19 |
| 20 namespace drive { | 20 namespace drive { |
| 21 class FileCacheEntry; | 21 class FileCacheEntry; |
| 22 class ResourceEntry; | 22 class ResourceEntry; |
| 23 struct SearchResultInfo; | 23 struct SearchResultInfo; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace google_apis { | 26 namespace google_apis { |
| 27 class AuthService; | 27 class AuthService; |
| 28 } | 28 } |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 const std::string& access_token); | 254 const std::string& access_token); |
| 255 | 255 |
| 256 private: | 256 private: |
| 257 GURL download_url_; | 257 GURL download_url_; |
| 258 scoped_ptr<google_apis::AuthService> auth_service_; | 258 scoped_ptr<google_apis::AuthService> auth_service_; |
| 259 }; | 259 }; |
| 260 | 260 |
| 261 } // namespace extensions | 261 } // namespace extensions |
| 262 | 262 |
| 263 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ | 263 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ |
| OLD | NEW |