Chromium Code Reviews| Index: chrome/browser/chromeos/login/screens/mock_model_view_channel.h |
| diff --git a/chrome/browser/chromeos/login/screens/mock_model_view_channel.h b/chrome/browser/chromeos/login/screens/mock_model_view_channel.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0053d69de9e01b8eae931131c9a7f017c7407324 |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/login/screens/mock_model_view_channel.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright (c) 2017 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_LOGIN_SCREENS_MOCK_MODEL_VIEW_CHANNEL_H_ |
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_MODEL_VIEW_CHANNEL_H_ |
| + |
| +#include "base/values.h" |
| +#include "chrome/browser/chromeos/login/screens/model_view_channel.h" |
| +#include "testing/gmock/include/gmock/gmock.h" |
| + |
| +namespace chromeos { |
| + |
| +class MockModelViewChannel : public ModelViewChannel { |
| + public: |
| + MockModelViewChannel(); |
| + ~MockModelViewChannel(); |
|
xiyuan
2017/04/27 19:34:21
override
kumarniranjan
2017/04/27 22:58:59
Done.
|
| + MOCK_METHOD1(CommitContextChanges, void(const base::DictionaryValue& diff)); |
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_MODEL_VIEW_CHANNEL_H_ |