// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sessions/content/content_record_password_state.h" #include "content/public/browser/navigation_entry.h" namespace sessions { namespace { // The key used to store PasswordState in the NavigationEntry; // We stash an enum value in the first character of the string16 that is // associated with this key. const char kPasswordStateKey[] = …; class PasswordStateData : public base::SupportsUserData::Data { … }; } // namespace SerializedNavigationEntry::PasswordState GetPasswordStateFromNavigation( content::NavigationEntry* entry) { … } void SetPasswordStateInNavigation( SerializedNavigationEntry::PasswordState state, content::NavigationEntry* entry) { … } } // namespace sessions