Chromium Code Reviews| Index: ios/chrome/browser/snapshots/snapshots_util.mm |
| diff --git a/ios/chrome/browser/snapshots/snapshots_util.mm b/ios/chrome/browser/snapshots/snapshots_util.mm |
| index bb34a6d2f9169e32f67362cca5e29eae5d11b3ed..908bd22f8c9ea86ff32fc3d104f55c8a0da42dfd 100644 |
| --- a/ios/chrome/browser/snapshots/snapshots_util.mm |
| +++ b/ios/chrome/browser/snapshots/snapshots_util.mm |
| @@ -40,16 +40,10 @@ void GetSnapshotsPaths(std::vector<base::FilePath>* snapshotsPaths) { |
| DCHECK(snapshotsPaths); |
| base::FilePath snapshotsDir; |
| PathService::Get(base::DIR_CACHE, &snapshotsDir); |
| + // Snapshots are located in a path with the bundle ID used twice. |
| snapshotsDir = |
| snapshotsDir.Append("Snapshots").Append(base::mac::BaseBundleID()); |
|
sdefresne
2016/10/19 18:22:27
nit: (or however "git cl format" format this)
sna
pkl (ping after 24h if needed)
2016/10/19 20:35:03
git cl format'ed
|
| - if (base::ios::IsRunningOnIOS8OrLater()) { |
| - // On iOS8, the snapshots are located in a path with the bundle ID used |
| - // twice. |
| - snapshotsDir = snapshotsDir.Append(base::mac::BaseBundleID()); |
| - } else { |
| - // On iOS7, the snapshots are located in the subfolder "Main". |
| - snapshotsDir = snapshotsDir.Append("Main"); |
| - } |
| + snapshotsDir = snapshotsDir.Append(base::mac::BaseBundleID()); |
| const char* retinaSuffix = ""; |
| CGFloat scale = [UIScreen mainScreen].scale; |
| if (scale == 2) { |