Index: chrome/browser/chromeos/gdata/gdata_util.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_util.h b/chrome/browser/chromeos/gdata/gdata_util.h |
index 87a6c2577ffb7d755f168d3f3c7b9e470b7c86ac..4d5c2912bd7a20a4ca25a1e876a28b0db47911cb 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_util.h |
+++ b/chrome/browser/chromeos/gdata/gdata_util.h |
@@ -9,6 +9,8 @@ |
#include <string> |
#include <vector> |
+#include "base/bind.h" |
+#include "base/memory/scoped_ptr.h" |
#include "googleurl/src/gurl.h" |
class FilePath; |
@@ -77,12 +79,13 @@ bool ParseSearchFileName(const std::string& search_file_name, |
// Examples: ExtractGDatPath("/special/drive/foo.txt") => "drive/foo.txt" |
FilePath ExtractGDataPath(const FilePath& path); |
-// Returns vector of all possible cache paths for a given path on gdata mount |
-// point. |
+// Inserts all possible cache paths for a given vector of paths on gdata mount |
+// point into the output vector |cache_paths|. |
tbarzic
2012/06/08 17:59:13
can you add a comment that the caller has to ensur
hshi1
2012/06/08 18:21:41
Done.
|
void InsertGDataCachePathsPermissions( |
Profile* profile_, |
- const FilePath& gdata_path, |
- std::vector<std::pair<FilePath, int> >* cache_paths); |
+ scoped_ptr<std::vector<FilePath> > gdata_paths, |
+ std::vector<std::pair<FilePath, int> >* cache_paths, |
+ const base::Closure& callback); |
// Returns true if gdata is currently active with the specified profile. |
bool IsGDataAvailable(Profile* profile); |