| Index: chrome/browser/chromeos/gdata/gdata_operation_registry.h
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_operation_registry.h b/chrome/browser/chromeos/gdata/gdata_operation_registry.h
|
| index 1499eedde7f971d653708cf1c10c7f9eac177268..95dc2a3cc1d2329da75674087d4c30a663fb9c02 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_operation_registry.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_operation_registry.h
|
| @@ -69,12 +69,13 @@ class GDataOperationRegistry {
|
| // -1 if no expectation is available (yet).
|
| int64 progress_total;
|
| };
|
| + typedef std::vector<ProgressStatus> ProgressStatusList;
|
|
|
| // Observer interface for listening changes in the active set of operations.
|
| class Observer {
|
| public:
|
| // Called when a GData operation started, made some progress, or finished.
|
| - virtual void OnProgressUpdate(const std::vector<ProgressStatus>& list) = 0;
|
| + virtual void OnProgressUpdate(const ProgressStatusList& list) = 0;
|
| protected:
|
| virtual ~Observer() {}
|
| };
|
| @@ -128,7 +129,7 @@ class GDataOperationRegistry {
|
| bool CancelForFilePath(const FilePath& file_path);
|
|
|
| // Obtains the list of currently active operations.
|
| - std::vector<ProgressStatus> GetProgressStatusList();
|
| + ProgressStatusList GetProgressStatusList();
|
|
|
| // Sets the observer.
|
| void AddObserver(Observer* observer);
|
|
|