1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "components/password_manager/core/common/password_manager_ui.h" 6 7 namespace password_manager { 8 9 namespace ui { 10 11 bool IsPendingState(State state) { 12 return state == PENDING_PASSWORD_AND_BUBBLE_STATE || 13 state == PENDING_PASSWORD_STATE; 14 } 15 16 } // namespace ui 17 18 } // namespace password_manager 19