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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_util.h

Issue 23658009: Replace mountType by volumeType on fileBrowserPrivate APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/private_api_util.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_util.h b/chrome/browser/chromeos/extensions/file_manager/private_api_util.h
index be2e15e0482b4b86a2d6cd6e2bc483775667beed..18ff3a9b245a13f09da61ef6e546090550dc56eb 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_util.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_util.h
@@ -8,6 +8,7 @@
#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_UTIL_H_
#include "base/callback_forward.h"
+#include "chrome/browser/chromeos/extensions/file_manager/volume_manager.h"
#include "chrome/browser/google_apis/gdata_wapi_parser.h"
#include "url/gurl.h"
@@ -25,6 +26,9 @@ struct SelectedFileInfo;
namespace file_manager {
namespace util {
+// Converts VolumeType to a string enum (volumeType) used in the private API.
+std::string VolumeTypeToStringEnum(VolumeType type);
+
// Returns the ID of the tab associated with the dispatcher. Returns 0 on
// error.
int32 GetTabId(ExtensionFunctionDispatcher* dispatcher);

Powered by Google App Engine
This is Rietveld 408576698