Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chromeos/dbus/fake_modem_messaging_client.h

Issue 628883002: replace OVERRIDE and FINAL with override and final in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/dbus/fake_lorgnette_manager_client.h ('k') | chromeos/dbus/fake_nfc_adapter_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CHROMEOS_DBUS_FAKE_MODEM_MESSAGING_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_MODEM_MESSAGING_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_MODEM_MESSAGING_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_MODEM_MESSAGING_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chromeos/chromeos_export.h" 10 #include "chromeos/chromeos_export.h"
11 #include "chromeos/dbus/modem_messaging_client.h" 11 #include "chromeos/dbus/modem_messaging_client.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 class CHROMEOS_EXPORT FakeModemMessagingClient : public ModemMessagingClient { 15 class CHROMEOS_EXPORT FakeModemMessagingClient : public ModemMessagingClient {
16 public: 16 public:
17 FakeModemMessagingClient(); 17 FakeModemMessagingClient();
18 virtual ~FakeModemMessagingClient(); 18 virtual ~FakeModemMessagingClient();
19 19
20 virtual void Init(dbus::Bus* bus) OVERRIDE; 20 virtual void Init(dbus::Bus* bus) override;
21 virtual void SetSmsReceivedHandler(const std::string& service_name, 21 virtual void SetSmsReceivedHandler(const std::string& service_name,
22 const dbus::ObjectPath& object_path, 22 const dbus::ObjectPath& object_path,
23 const SmsReceivedHandler& handler) 23 const SmsReceivedHandler& handler)
24 OVERRIDE; 24 override;
25 virtual void ResetSmsReceivedHandler(const std::string& service_name, 25 virtual void ResetSmsReceivedHandler(const std::string& service_name,
26 const dbus::ObjectPath& object_path) 26 const dbus::ObjectPath& object_path)
27 OVERRIDE; 27 override;
28 virtual void Delete(const std::string& service_name, 28 virtual void Delete(const std::string& service_name,
29 const dbus::ObjectPath& object_path, 29 const dbus::ObjectPath& object_path,
30 const dbus::ObjectPath& sms_path, 30 const dbus::ObjectPath& sms_path,
31 const DeleteCallback& callback) OVERRIDE; 31 const DeleteCallback& callback) override;
32 virtual void List(const std::string& service_name, 32 virtual void List(const std::string& service_name,
33 const dbus::ObjectPath& object_path, 33 const dbus::ObjectPath& object_path,
34 const ListCallback& callback) OVERRIDE; 34 const ListCallback& callback) override;
35 35
36 private: 36 private:
37 SmsReceivedHandler sms_received_handler_; 37 SmsReceivedHandler sms_received_handler_;
38 std::vector<dbus::ObjectPath> message_paths_; 38 std::vector<dbus::ObjectPath> message_paths_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(FakeModemMessagingClient); 40 DISALLOW_COPY_AND_ASSIGN(FakeModemMessagingClient);
41 }; 41 };
42 42
43 } // namespace chromeos 43 } // namespace chromeos
44 44
45 #endif // CHROMEOS_DBUS_FAKE_MODEM_MESSAGING_CLIENT_H_ 45 #endif // CHROMEOS_DBUS_FAKE_MODEM_MESSAGING_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_lorgnette_manager_client.h ('k') | chromeos/dbus/fake_nfc_adapter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698