| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/common/system/chromeos/network/network_list_md.h" | 5 #include "ash/common/system/chromeos/network/network_list.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "ash/common/system/chromeos/network/network_icon.h" | 9 #include "ash/common/system/chromeos/network/network_icon.h" |
| 10 #include "ash/common/system/chromeos/network/network_icon_animation.h" | 10 #include "ash/common/system/chromeos/network/network_icon_animation.h" |
| 11 #include "ash/common/system/chromeos/network/network_list_delegate.h" | 11 #include "ash/common/system/chromeos/network/network_list_delegate.h" |
| 12 #include "ash/common/system/tray/system_menu_button.h" | 12 #include "ash/common/system/tray/system_menu_button.h" |
| 13 #include "ash/common/system/tray/tray_constants.h" | 13 #include "ash/common/system/tray/tray_constants.h" |
| 14 #include "ash/common/system/tray/tray_popup_item_style.h" | 14 #include "ash/common/system/tray/tray_popup_item_style.h" |
| 15 #include "ash/common/system/tray/tray_popup_utils.h" | 15 #include "ash/common/system/tray/tray_popup_utils.h" |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 if (found == last_network_info_map_.end()) { | 674 if (found == last_network_info_map_.end()) { |
| 675 // If we cannot find |info| in |last_network_info_map_|, just return true | 675 // If we cannot find |info| in |last_network_info_map_|, just return true |
| 676 // since this is a new network so we have nothing to compare. | 676 // since this is a new network so we have nothing to compare. |
| 677 return true; | 677 return true; |
| 678 } else { | 678 } else { |
| 679 return *found->second != info; | 679 return *found->second != info; |
| 680 } | 680 } |
| 681 } | 681 } |
| 682 | 682 |
| 683 } // namespace ash | 683 } // namespace ash |
| OLD | NEW |