diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 02:49:05 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 02:49:05 +0000 |
commit | b4113d5feb3b47f5f9aaa4e7aeeacc0d95d81f36 (patch) | |
tree | e455862522cfe5a297c70edbce743e021a5769af /base/mac_util.h | |
parent | 1c966c891f7f495fd08c84b58ec145bd6bd7d181 (diff) | |
download | chromium_src-b4113d5feb3b47f5f9aaa4e7aeeacc0d95d81f36.zip chromium_src-b4113d5feb3b47f5f9aaa4e7aeeacc0d95d81f36.tar.gz chromium_src-b4113d5feb3b47f5f9aaa4e7aeeacc0d95d81f36.tar.bz2 |
For the immediate milestone, exclude History and Thumbnails from being backed up by Time Machine. The bug describes appropriate long-term solutions to this problem.
BUG=259595
TEST=Launch Chrome. Inspect the following files found in ~/Library/Application Support/Chromium/Default/: a) History, b) History-journal, c) Thumbnails, and d) Thumbnails-journal and verify that they are not being backed up by Time Machine.
Review URL: http://codereview.chromium.org/387016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31644 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac_util.h')
-rw-r--r-- | base/mac_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/mac_util.h b/base/mac_util.h index a65576d..ed49e2f 100644 --- a/base/mac_util.h +++ b/base/mac_util.h @@ -89,6 +89,9 @@ void GrabWindowSnapshot(NSWindow* window, // returns - path to the application bundle, or empty on error FilePath GetAppBundlePath(const FilePath& exec_name); +// Set the Time Machine exclusion property for the given file. +bool SetFileBackupExclusion(const FilePath& file_path, bool exclude); + } // namespace mac_util #endif // BASE_MAC_UTIL_H_ |