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

Unified Diff: ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm

Issue 2742953003: created web::ReloadType (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm
diff --git a/ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm b/ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm
index 2cb4bc7786e0d45dac6b152068002998beeaf827..6c31e549231bad5a1c3d78f6ef62c5fe2ce16043 100644
--- a/ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm
+++ b/ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm
@@ -8,6 +8,7 @@
#include "components/reading_list/ios/reading_list_model_impl.h"
#include "ios/chrome/browser/reading_list/offline_url_utils.h"
#import "ios/web/public/navigation_item.h"
+#include "ios/web/public/reload_type.h"
#import "ios/web/public/test/fakes/test_navigation_manager.h"
#import "ios/web/public/test/fakes/test_web_state.h"
#include "ios/web/public/test/web_test.h"
@@ -25,7 +26,9 @@
// A Test navigation manager that checks if Reload was called.
class TestNavigationManager : public web::TestNavigationManager {
public:
- void Reload(bool check_for_repost) override { reload_called_ = true; }
+ void Reload(web::ReloadType reload_type, bool check_for_repost) override {
+ reload_called_ = true;
+ }
bool ReloadCalled() { return reload_called_; }
private:
« no previous file with comments | « ios/chrome/browser/reading_list/reading_list_web_state_observer.mm ('k') | ios/chrome/browser/ui/reading_list/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698