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

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

Issue 10693137: Remove #pragma once from chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/mock_modem_messaging_client.h ('k') | chromeos/dbus/modem_messaging_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 (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 #ifndef CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/values.h" 10 #include "base/values.h"
12 #include "chromeos/dbus/sms_client.h" 11 #include "chromeos/dbus/sms_client.h"
13 #include "dbus/object_path.h" 12 #include "dbus/object_path.h"
14 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
15 14
16 namespace chromeos { 15 namespace chromeos {
17 16
18 class MockSMSClient : public SMSClient { 17 class MockSMSClient : public SMSClient {
19 public: 18 public:
20 MockSMSClient(); 19 MockSMSClient();
21 virtual ~MockSMSClient(); 20 virtual ~MockSMSClient();
22 MOCK_METHOD3(GetAll, void(const std::string& service_name, 21 MOCK_METHOD3(GetAll, void(const std::string& service_name,
23 const dbus::ObjectPath& object_path, 22 const dbus::ObjectPath& object_path,
24 const GetAllCallback& callback)); 23 const GetAllCallback& callback));
25 }; 24 };
26 25
27 } // namespace chromeos 26 } // namespace chromeos
28 27
29 #endif // CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_ 28 #endif // CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_modem_messaging_client.h ('k') | chromeos/dbus/modem_messaging_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698