| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chromeos/dbus/update_engine_client.h" | 5 #include "chromeos/dbus/update_engine_client.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback.h" | |
| 11 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 12 #include "base/macros.h" | 11 #include "base/macros.h" |
| 13 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 14 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 15 #include "chromeos/chromeos_switches.h" | 14 #include "chromeos/chromeos_switches.h" |
| 16 #include "dbus/bus.h" | 15 #include "dbus/bus.h" |
| 17 #include "dbus/message.h" | 16 #include "dbus/message.h" |
| 18 #include "dbus/object_path.h" | 17 #include "dbus/object_path.h" |
| 19 #include "dbus/object_proxy.h" | 18 #include "dbus/object_proxy.h" |
| 20 #include "third_party/cros_system_api/dbus/service_constants.h" | 19 #include "third_party/cros_system_api/dbus/service_constants.h" |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 auto cix = std::find(kReleaseChannelsList, | 565 auto cix = std::find(kReleaseChannelsList, |
| 567 kReleaseChannelsList + arraysize(kReleaseChannelsList), | 566 kReleaseChannelsList + arraysize(kReleaseChannelsList), |
| 568 current_channel); | 567 current_channel); |
| 569 auto tix = std::find(kReleaseChannelsList, | 568 auto tix = std::find(kReleaseChannelsList, |
| 570 kReleaseChannelsList + arraysize(kReleaseChannelsList), | 569 kReleaseChannelsList + arraysize(kReleaseChannelsList), |
| 571 target_channel); | 570 target_channel); |
| 572 return tix > cix; | 571 return tix > cix; |
| 573 } | 572 } |
| 574 | 573 |
| 575 } // namespace chromeos | 574 } // namespace chromeos |
| OLD | NEW |