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

Unified Diff: chrome/browser/chromeos/login/screens/mock_model_view_channel.h

Issue 2824283003: Fix autoupdate_EndToEndTest on veyron_rialto (Closed)
Patch Set: Addressed more comments Created 3 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 side-by-side diff with in-line comments
Download patch
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..e6346edeba5fa1f3172044932363514ddee55fd2
--- /dev/null
+++ b/chrome/browser/chromeos/login/screens/mock_model_view_channel.h
@@ -0,0 +1,23 @@
+// Copyright 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() override;
+ MOCK_METHOD1(CommitContextChanges, void(const base::DictionaryValue& diff));
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_MODEL_VIEW_CHANNEL_H_

Powered by Google App Engine
This is Rietveld 408576698