| 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..003c573ffe4f32bea1b1ed59bce4aa269a8b9749 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_util.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_util.h
|
| @@ -9,6 +9,7 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "googleurl/src/gurl.h"
|
|
|
| class FilePath;
|
| @@ -77,12 +78,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|.
|
| 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);
|
|
|