| Index: chrome/browser/android/offline_pages/recent_tab_helper.cc
|
| diff --git a/chrome/browser/android/offline_pages/recent_tab_helper.cc b/chrome/browser/android/offline_pages/recent_tab_helper.cc
|
| index 6f5fc9b3aa3fa722ad8772020c4f17e94b469871..10fadf0e7383dcacda38c556c4582f7d46699429 100644
|
| --- a/chrome/browser/android/offline_pages/recent_tab_helper.cc
|
| +++ b/chrome/browser/android/offline_pages/recent_tab_helper.cc
|
| @@ -148,12 +148,11 @@ void RecentTabHelper::ContinueSnapshotWithIdsToPurge(
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| -void RecentTabHelper::ContinueSnapshotAfterPurge(
|
| - OfflinePageModel::DeletePageResult result) {
|
| +void RecentTabHelper::ContinueSnapshotAfterPurge(DeletePageResult result) {
|
| // NOT_FOUND is because it's what we get when passing empty vector of ids.
|
| // TODO(dimich): remove NOT_FOUND when bug 608057 is fixed.
|
| - if (result != OfflinePageModel::DeletePageResult::SUCCESS &&
|
| - result != OfflinePageModel::DeletePageResult::NOT_FOUND) {
|
| + if (result != DeletePageResult::SUCCESS &&
|
| + result != DeletePageResult::NOT_FOUND) {
|
| // If previous pages can't be deleted, don't add new ones.
|
| ReportSnapshotCompleted();
|
| return;
|
| @@ -178,7 +177,7 @@ void RecentTabHelper::ContinueSnapshotAfterPurge(
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| -void RecentTabHelper::SavePageCallback(OfflinePageModel::SavePageResult result,
|
| +void RecentTabHelper::SavePageCallback(SavePageResult result,
|
| int64_t offline_id) {
|
| // TODO(dimich): add UMA, including result. Bug 608112.
|
| ReportSnapshotCompleted();
|
|
|