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

Unified Diff: chrome/browser/media_gallery/media_galleries_dialog_controller_mock.cc

Issue 10854150: Cocoa: Media gallery dialog unit test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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/media_gallery/media_galleries_dialog_controller_mock.cc
diff --git a/chrome/browser/media_gallery/media_galleries_dialog_controller_mock.cc b/chrome/browser/media_gallery/media_galleries_dialog_controller_mock.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0e6c129ad72e1205a534465c11c01173c909b6e3
--- /dev/null
+++ b/chrome/browser/media_gallery/media_galleries_dialog_controller_mock.cc
@@ -0,0 +1,21 @@
+// 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.
+
+#include "chrome/browser/media_gallery/media_galleries_dialog_controller_mock.h"
+
+using ::testing::Return;
+
+namespace chrome {
+
+MediaGalleriesDialogControllerMock::MediaGalleriesDialogControllerMock() {
+ EXPECT_CALL(*this, GetHeader()).
+ WillRepeatedly(Return(string16()));
+ EXPECT_CALL(*this, GetSubtext()).
+ WillRepeatedly(Return(string16()));
+}
+
+MediaGalleriesDialogControllerMock::~MediaGalleriesDialogControllerMock() {
+}
+
+} // namespace

Powered by Google App Engine
This is Rietveld 408576698