blob: ccbf012efb821687816e54b23964418231152c03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_PROFILE_CLIENT_H_
#define CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_PROFILE_CLIENT_H_
#include "base/values.h"
#include "chrome/browser/chromeos/dbus/flimflam_profile_client.h"
#include "dbus/object_path.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace chromeos {
class MockFlimflamProfileClient : public FlimflamProfileClient {
public:
MockFlimflamProfileClient();
virtual ~MockFlimflamProfileClient();
MOCK_METHOD1(SetPropertyChangedHandler,
void(const PropertyChangedHandler& handler));
MOCK_METHOD0(ResetPropertyChangedHandler, void());
MOCK_METHOD1(GetProperties, void(const DictionaryValueCallback& callback));
MOCK_METHOD2(GetEntry, void(const dbus::ObjectPath& path,
const DictionaryValueCallback& callback));
MOCK_METHOD2(DeleteEntry, void(const dbus::ObjectPath& path,
const VoidCallback& callback));
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_PROFILE_CLIENT_H_
|