summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/gdata/gdata_operation_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/gdata/gdata_operation_registry.h')
-rw-r--r--chrome/browser/chromeos/gdata/gdata_operation_registry.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_operation_registry.h b/chrome/browser/chromeos/gdata/gdata_operation_registry.h
index 95dc2a3..1499eed 100644
--- a/chrome/browser/chromeos/gdata/gdata_operation_registry.h
+++ b/chrome/browser/chromeos/gdata/gdata_operation_registry.h
@@ -69,13 +69,12 @@ 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 ProgressStatusList& list) = 0;
+ virtual void OnProgressUpdate(const std::vector<ProgressStatus>& list) = 0;
protected:
virtual ~Observer() {}
};
@@ -129,7 +128,7 @@ class GDataOperationRegistry {
bool CancelForFilePath(const FilePath& file_path);
// Obtains the list of currently active operations.
- ProgressStatusList GetProgressStatusList();
+ std::vector<ProgressStatus> GetProgressStatusList();
// Sets the observer.
void AddObserver(Observer* observer);