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

Unified Diff: chrome/browser/chromeos/extensions/file_manager_util.h

Issue 9720020: [COPY] - Implemented API for tracking ongoing file transfers from file manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: chrome/browser/chromeos/extensions/file_manager_util.h
===================================================================
--- chrome/browser/chromeos/extensions/file_manager_util.h (revision 127341)
+++ chrome/browser/chromeos/extensions/file_manager_util.h (working copy)
@@ -7,13 +7,19 @@
#pragma once
#include <string>
+#include <vector>
#include "base/file_path.h"
+#include "chrome/browser/chromeos/gdata/gdata_operation_registry.h"
#include "chrome/browser/ui/select_file_dialog.h"
#include "googleurl/src/gurl.h"
class Profile;
+namespace base {
+class ListValue;
+}
+
extern const char kFileBrowserDomain[];
// File manager helper methods.
@@ -68,6 +74,11 @@
bool ShouldBeOpenedWithPdfPlugin(const char* file_extension);
+// Converts the vector of progress status to their JSON (Value) form.
+base::ListValue* ProgressStatusVectorToListValue(
+ Profile* profile, const GURL& origin_url,
+ const std::vector<gdata::GDataOperationRegistry::ProgressStatus>& list);
+
} // namespace file_manager_util
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698