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

Unified Diff: chrome/browser/history/thumbnail_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 | « chrome/browser/history/history_database.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/thumbnail_database.cc
===================================================================
--- chrome/browser/history/thumbnail_database.cc (revision 86429)
+++ chrome/browser/history/thumbnail_database.cc (working copy)
@@ -66,12 +66,8 @@
transaction.Begin();
#if defined(OS_MACOSX)
- // Exclude the thumbnails file and its journal from backups.
- base::mac::SetFileBackupExclusion(db_name, true);
- FilePath::StringType db_name_string(db_name.value());
- db_name_string += "-journal";
- FilePath db_journal_name(db_name_string);
- base::mac::SetFileBackupExclusion(db_journal_name, true);
+ // Exclude the thumbnails file from backups.
+ base::mac::SetFileBackupExclusion(db_name);
#endif
// Create the tables.
« no previous file with comments | « chrome/browser/history/history_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698