| 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 ced2cf685adfc522584eddfc312238c0cee169fb..a0733493f2b9eccca8342217ecb769d90ea1cc11 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_util.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_util.h
|
| @@ -9,6 +9,7 @@
|
| #include <string>
|
|
|
| class FilePath;
|
| +class Profile;
|
|
|
| namespace gdata {
|
| namespace util {
|
| @@ -27,6 +28,12 @@ bool IsUnderGDataMountPoint(const FilePath& path);
|
| // Examples: ExtractGDatPath("/special/gdata/foo.txt") => "gdata/foo.txt"
|
| FilePath ExtractGDataPath(const FilePath& path);
|
|
|
| +// Grants read-only file access permissions to the process whose id is |pid|
|
| +// with ChildProcessSecurityPolicy for all possible cache paths that may be
|
| +// given to the specified file.
|
| +void SetPermissionsForGDataCacheFiles(Profile* profile,
|
| + int pid,
|
| + const FilePath& path);
|
| } // namespace util
|
| } // namespace gdata
|
|
|
|
|