// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_RENDERER_HOST_NAVIGATION_ENTRY_RESTORE_CONTEXT_IMPL_H_ #define CONTENT_BROWSER_RENDERER_HOST_NAVIGATION_ENTRY_RESTORE_CONTEXT_IMPL_H_ #include <map> #include <string> #include "content/common/content_export.h" #include "content/public/browser/navigation_entry_restore_context.h" #include "url/gurl.h" namespace content { class FrameNavigationEntry; // NavigationEntryRestoreContextImpl is passed to // NavigationEntry::SetPageState() when restoring a vector of NavigationEntries. // It tracks the item sequence number (ISNs) associated with each // FrameNavigationEntry (FNE), and maintains a mapping of ISNs to FNEs to // ensure FNEs are de-duplicated if they appear in multiple NavigationEntries. class CONTENT_EXPORT NavigationEntryRestoreContextImpl : public NavigationEntryRestoreContext { … }; } // namespace content #endif // CONTENT_BROWSER_RENDERER_HOST_NAVIGATION_ENTRY_RESTORE_CONTEXT_IMPL_H_