Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / ios / chrome / browser / file_metadata_util.h
blob02c2a521ac3e2852642c18af60c39335be72adad
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_BROWSER_FILE_METADATA_UTIL_H_
6 #define IOS_CHROME_BROWSER_FILE_METADATA_UTIL_H_
8 #include "base/files/file_path.h"
10 namespace file_metadata_util {
12 // Synchronously sets a bit on the file system that prevents iCloud/iTunes
13 // backups of the file/folder at |path|. There must be a file/folder present at
14 // |path|.
15 void AddSkipSystemBackupAttributeToItem(const base::FilePath& path);
17 } // namespace file_metadata_util
19 #endif // IOS_CHROME_BROWSER_FILE_METADATA_UTIL_H_