Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2094)

Unified Diff: chrome/browser/chromeos/gdata/gdata_operation_registry.h

Issue 10214013: Created uber tray UI for monitoring ongoing WebDrive sync operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/system_tray_delegate.cc ('k') | chrome/browser/chromeos/gdata/gdata_operation_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ash/system/tray/system_tray_delegate.cc ('k') | chrome/browser/chromeos/gdata/gdata_operation_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698