| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 int about_resource_load_count_; | 249 int about_resource_load_count_; |
| 250 bool offline_; | 250 bool offline_; |
| 251 base::FilePath last_cancelled_file_; | 251 base::FilePath last_cancelled_file_; |
| 252 | 252 |
| 253 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 253 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
| 254 }; | 254 }; |
| 255 | 255 |
| 256 } // namespace google_apis | 256 } // namespace google_apis |
| 257 | 257 |
| 258 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ | 258 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
| OLD | NEW |