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

Unified Diff: ios/chrome/browser/reading_list/reading_list_entry_loading_util.h

Issue 2578973002: Reload offline version on load failure (Closed)
Patch Set: cleaner Created 4 years 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
Index: ios/chrome/browser/reading_list/reading_list_entry_loading_util.h
diff --git a/ios/chrome/browser/reading_list/reading_list_entry_loading_util.h b/ios/chrome/browser/reading_list/reading_list_entry_loading_util.h
deleted file mode 100644
index 0218cda19d1410f7f9ee15b817f50685892e6996..0000000000000000000000000000000000000000
--- a/ios/chrome/browser/reading_list/reading_list_entry_loading_util.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_CHROME_BROWSER_READING_LIST_READING_LIST_ENTRY_LOADING_UTIL_H_
-#define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_ENTRY_LOADING_UTIL_H_
-
-class ReadingListEntry;
-class ReadingListModel;
-
-namespace web {
-class WebState;
-};
-
-namespace reading_list {
-
-// Loads the URL of the |entry| into the |web_state|. If the entry is
-// successfully loaded, marks the entry as read.
-void LoadReadingListEntry(ReadingListEntry const& entry,
- ReadingListModel* model,
- web::WebState* web_state);
-
-// Loads the distilled URL of the |entry| into the |web_state|, and marks
-// |entry| as read. |entry->DistilledState()| must be |PROCESSED|.
-void LoadReadingListDistilled(ReadingListEntry const& entry,
- ReadingListModel* model,
- web::WebState* web_state);
-};
-
-#endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_ENTRY_LOADING_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698