Index: chrome/browser/sync/glue/synced_tab_delegate_unittest.cc |
diff --git a/chrome/browser/sync/glue/synced_tab_delegate_unittest.cc b/chrome/browser/sync/glue/synced_tab_delegate_unittest.cc |
index ee848ee05b10d005148b2251109986628aae722a..f6b06230210846e3ca7d9107dd116a662afe72f0 100644 |
--- a/chrome/browser/sync/glue/synced_tab_delegate_unittest.cc |
+++ b/chrome/browser/sync/glue/synced_tab_delegate_unittest.cc |
@@ -44,6 +44,11 @@ class FakeSyncedTabDelegate : public SyncedTabDelegate { |
bool IsBeingDestroyed() const override { return false; } |
Profile* profile() const override { return NULL; } |
std::string GetExtensionAppId() const override { return ""; } |
+ bool IsInitialBlankNavigation() const override { |
+ // This differs from NavigationControllerImpl, which has an initial blank |
+ // NavigationEntry. |
+ return GetEntryCount() == 0; |
+ } |
int GetCurrentEntryIndex() const override { return current_index_; } |
int GetEntryCount() const override { return indexed_entries_.size(); } |
int GetPendingEntryIndex() const override { return pending_index_; } |