OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/fake_modem_messaging_client.h" | 5 #include "chromeos/dbus/fake_modem_messaging_client.h" |
6 | 6 |
7 #include <algorithm> | |
dcheng
2015/11/16 18:22:59
All the lines like this are because people were de
danakj
2015/11/16 22:19:03
Silly compilers.
| |
7 #include <string> | 8 #include <string> |
8 #include <vector> | 9 #include <vector> |
9 | 10 |
10 #include "base/callback.h" | 11 #include "base/callback.h" |
11 #include "base/logging.h" | 12 #include "base/logging.h" |
12 #include "dbus/object_path.h" | 13 #include "dbus/object_path.h" |
13 | 14 |
14 namespace chromeos { | 15 namespace chromeos { |
15 | 16 |
16 FakeModemMessagingClient::FakeModemMessagingClient() {} | 17 FakeModemMessagingClient::FakeModemMessagingClient() {} |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
54 message_paths_.push_back(kSmsPath); | 55 message_paths_.push_back(kSmsPath); |
55 if (!sms_received_handler_.is_null()) | 56 if (!sms_received_handler_.is_null()) |
56 sms_received_handler_.Run(kSmsPath, true); | 57 sms_received_handler_.Run(kSmsPath, true); |
57 callback.Run(no_paths); | 58 callback.Run(no_paths); |
58 } else { | 59 } else { |
59 callback.Run(message_paths_); | 60 callback.Run(message_paths_); |
60 } | 61 } |
61 } | 62 } |
62 | 63 |
63 } // namespace chromeos | 64 } // namespace chromeos |
OLD | NEW |