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

Side by Side Diff: chromeos/dbus/mock_cashew_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/introspectable_client.h ('k') | chromeos/dbus/mock_cros_disks_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_CASHEW_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_CASHEW_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_CASHEW_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_CASHEW_CLIENT_H_
7 #pragma once
8 7
9 #include "chromeos/dbus/cashew_client.h" 8 #include "chromeos/dbus/cashew_client.h"
10 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
11 10
12 namespace chromeos { 11 namespace chromeos {
13 12
14 class MockCashewClient : public CashewClient { 13 class MockCashewClient : public CashewClient {
15 public: 14 public:
16 MockCashewClient(); 15 MockCashewClient();
17 virtual ~MockCashewClient(); 16 virtual ~MockCashewClient();
18 17
19 MOCK_METHOD1(SetDataPlansUpdateHandler, 18 MOCK_METHOD1(SetDataPlansUpdateHandler,
20 void(const DataPlansUpdateHandler& handler)); 19 void(const DataPlansUpdateHandler& handler));
21 MOCK_METHOD0(ResetDataPlansUpdateHandler, void()); 20 MOCK_METHOD0(ResetDataPlansUpdateHandler, void());
22 MOCK_METHOD1(RequestDataPlansUpdate, void(const std::string& service)); 21 MOCK_METHOD1(RequestDataPlansUpdate, void(const std::string& service));
23 }; 22 };
24 23
25 } // namespace chromeos 24 } // namespace chromeos
26 25
27 #endif // CHROMEOS_DBUS_MOCK_CASHEW_CLIENT_H_ 26 #endif // CHROMEOS_DBUS_MOCK_CASHEW_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/introspectable_client.h ('k') | chromeos/dbus/mock_cros_disks_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698