Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1398)

Unified Diff: chrome/browser/history/history_database.cc

Issue 7069021: Non-path Time Machine Exclusions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/mac/mac_util_unittest.mm ('k') | chrome/browser/history/thumbnail_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_database.cc
===================================================================
--- chrome/browser/history/history_database.cc (revision 86429)
+++ chrome/browser/history/history_database.cc (working copy)
@@ -97,12 +97,8 @@
return sql::INIT_FAILURE;
#if defined(OS_MACOSX)
- // Exclude the history file and its journal from backups.
- base::mac::SetFileBackupExclusion(history_name, true);
- FilePath::StringType history_name_string(history_name.value());
- history_name_string += "-journal";
- FilePath history_journal_name(history_name_string);
- base::mac::SetFileBackupExclusion(history_journal_name, true);
+ // Exclude the history file from backups.
+ base::mac::SetFileBackupExclusion(history_name);
#endif
// Prime the cache.
« no previous file with comments | « base/mac/mac_util_unittest.mm ('k') | chrome/browser/history/thumbnail_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698