Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_operations_callback.h |
| diff --git a/chrome/browser/chromeos/gdata/gdata_params.h b/chrome/browser/chromeos/gdata/gdata_operations_callback.h |
| similarity index 84% |
| rename from chrome/browser/chromeos/gdata/gdata_params.h |
| rename to chrome/browser/chromeos/gdata/gdata_operations_callback.h |
| index 0cea29ceef03295672204263743d4c8646433f1d..f59a1c53b2bcadec16146414699dc54d9317f04e 100644 |
| --- a/chrome/browser/chromeos/gdata/gdata_params.h |
| +++ b/chrome/browser/chromeos/gdata/gdata_operations_callback.h |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ |
| -#define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ |
| +#ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_CALLBACK_H_ |
| +#define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_CALLBACK_H_ |
|
satorux1
2012/08/08 20:21:19
Sorry to be nit-picky, but the name does not look
|
| #include <string> |
| @@ -26,10 +26,6 @@ struct ResumeUploadResponse; |
| // Different callback types for various functionalities in DocumentsService. |
| -// Callback type for authentication related DocumentService calls. |
| -typedef base::Callback<void(GDataErrorCode error, |
| - const std::string& token)> AuthStatusCallback; |
| - |
| // Callback type for DocumentServiceInterface::GetDocuments. |
| // Note: feed_data argument should be passed using base::Passed(&feed_data), not |
| // feed_data.Pass(). |
| @@ -132,24 +128,6 @@ struct InitiateUploadParams { |
| const FilePath& virtual_path; |
| }; |
| -// Defines set of parameters sent to callback OnProtoLoaded(). |
| -struct LoadRootFeedParams { |
| - LoadRootFeedParams( |
| - FilePath search_file_path, |
| - bool should_load_from_server, |
| - const FindEntryCallback& callback); |
| - ~LoadRootFeedParams(); |
| - |
| - FilePath search_file_path; |
| - bool should_load_from_server; |
| - std::string proto; |
| - GDataFileError load_error; |
| - base::Time last_modified; |
| - // Time when filesystem began to be loaded from disk. |
| - base::Time load_start_time; |
| - const FindEntryCallback callback; |
| -}; |
| - |
| } // namespace gdata |
| -#endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ |
| +#endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_CALLBACK_H_ |