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

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

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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
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 CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/chromeos/dbus/flimflam_ipconfig_client.h" 9 #include "chromeos/dbus/flimflam_ipconfig_client.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 class MockFlimflamIPConfigClient : public FlimflamIPConfigClient { 14 class MockFlimflamIPConfigClient : public FlimflamIPConfigClient {
15 public: 15 public:
16 MockFlimflamIPConfigClient(); 16 MockFlimflamIPConfigClient();
17 virtual ~MockFlimflamIPConfigClient(); 17 virtual ~MockFlimflamIPConfigClient();
18 18
19 MOCK_METHOD1(SetPropertyChangedHandler, 19 MOCK_METHOD1(SetPropertyChangedHandler,
20 void(const PropertyChangedHandler& handler)); 20 void(const PropertyChangedHandler& handler));
21 MOCK_METHOD0(ResetPropertyChangedHandler, void()); 21 MOCK_METHOD0(ResetPropertyChangedHandler, void());
22 MOCK_METHOD1(GetProperties, void(const DictionaryValueCallback& callback)); 22 MOCK_METHOD1(GetProperties, void(const DictionaryValueCallback& callback));
23 MOCK_METHOD3(SetProperty, void(const std::string& name, 23 MOCK_METHOD3(SetProperty, void(const std::string& name,
24 const base::Value& value, 24 const base::Value& value,
25 const VoidCallback& callback)); 25 const VoidCallback& callback));
26 MOCK_METHOD2(ClearProperty, void(const std::string& name, 26 MOCK_METHOD2(ClearProperty, void(const std::string& name,
27 const VoidCallback& callback)); 27 const VoidCallback& callback));
28 MOCK_METHOD1(Remove, void(const VoidCallback& callback)); 28 MOCK_METHOD1(Remove, void(const VoidCallback& callback));
29 }; 29 };
30 30
31 } // namespace chromeos 31 } // namespace chromeos
32 32
33 #endif // CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_ 33 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_debug_daemon_client.cc ('k') | chromeos/dbus/mock_flimflam_ipconfig_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698