| OLD | NEW | 
| (Empty) |  | 
 |   1 // Copyright 2016 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 #ifndef COMPONENTS_SECURITY_STATE_SECURITY_STATE_UI_H_ | 
 |   6 #define COMPONENTS_SECURITY_STATE_SECURITY_STATE_UI_H_ | 
 |   7  | 
 |   8 #include "components/security_state/core/security_state.h" | 
 |   9  | 
 |  10 // Provides helper methods that encapsulate platform-independent security UI | 
 |  11 // logic. | 
 |  12 namespace security_state { | 
 |  13  | 
 |  14 // On some (mobile) form factors, the security indicator icon is hidden to save | 
 |  15 // UI space. This returns whether the icon should always be shown for the given | 
 |  16 // |security_level|, i.e. whether to override the hiding behaviour. | 
 |  17 bool ShouldAlwaysShowIcon(SecurityLevel security_level); | 
 |  18  | 
 |  19 }  // namespace security_state | 
 |  20  | 
 |  21 #endif  // COMPONENTS_SECURITY_STATE_SECURITY_STATE_UI_H_ | 
| OLD | NEW |