| 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_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/google_apis/drive_service_interface.h" | 10 #include "chrome/browser/google_apis/drive_service_interface.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 virtual void GetAllResourceList( | 90 virtual void GetAllResourceList( |
| 91 const GetResourceListCallback& callback) OVERRIDE; | 91 const GetResourceListCallback& callback) OVERRIDE; |
| 92 virtual void GetResourceListInDirectory( | 92 virtual void GetResourceListInDirectory( |
| 93 const std::string& directory_resource_id, | 93 const std::string& directory_resource_id, |
| 94 const GetResourceListCallback& callback) OVERRIDE; | 94 const GetResourceListCallback& callback) OVERRIDE; |
| 95 // See the comment for EntryMatchWidthQuery() in .cc file for details about | 95 // See the comment for EntryMatchWidthQuery() in .cc file for details about |
| 96 // the supported search query types. | 96 // the supported search query types. |
| 97 virtual void Search( | 97 virtual void Search( |
| 98 const std::string& search_query, | 98 const std::string& search_query, |
| 99 const GetResourceListCallback& callback) OVERRIDE; | 99 const GetResourceListCallback& callback) OVERRIDE; |
| 100 virtual void SearchInDirectory( | 100 virtual void SearchByTitle( |
| 101 const std::string& search_query, | 101 const std::string& title, |
| 102 const std::string& directory_resource_id, | 102 const std::string& directory_resource_id, |
| 103 const GetResourceListCallback& callback) OVERRIDE; | 103 const GetResourceListCallback& callback) OVERRIDE; |
| 104 virtual void GetChangeList( | 104 virtual void GetChangeList( |
| 105 int64 start_changestamp, | 105 int64 start_changestamp, |
| 106 const GetResourceListCallback& callback) OVERRIDE; | 106 const GetResourceListCallback& callback) OVERRIDE; |
| 107 virtual void ContinueGetResourceList( | 107 virtual void ContinueGetResourceList( |
| 108 const GURL& override_url, | 108 const GURL& override_url, |
| 109 const GetResourceListCallback& callback) OVERRIDE; | 109 const GetResourceListCallback& callback) OVERRIDE; |
| 110 virtual void GetResourceEntry( | 110 virtual void GetResourceEntry( |
| 111 const std::string& resource_id, | 111 const std::string& resource_id, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 int about_resource_load_count_; | 251 int about_resource_load_count_; |
| 252 bool offline_; | 252 bool offline_; |
| 253 base::FilePath last_cancelled_file_; | 253 base::FilePath last_cancelled_file_; |
| 254 | 254 |
| 255 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 255 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 } // namespace google_apis | 258 } // namespace google_apis |
| 259 | 259 |
| 260 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ | 260 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
| OLD | NEW |