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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.h

Issue 438893002: Add ManagePasswordItemViewController and unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix constants in test Created 6 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/ui/cocoa/passwords/manage_passwords_controller_test.h
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.h b/chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..94682ac8d6a9e005bf6eab1adcc92d1c9d99b877
--- /dev/null
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.h
@@ -0,0 +1,33 @@
+// Copyright 2014 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_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_
+#define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_
+
+#include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
+#include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
+
+namespace content {
+class WebContents;
+} // namespace content
+
+class ManagePasswordsUIControllerMock;
+class ManagePasswordsBubbleModel;
+
+class ManagePasswordsControllerTest : public CocoaProfileTest {
+ public:
+ ManagePasswordsControllerTest();
+ virtual ~ManagePasswordsControllerTest();
+ virtual void SetUp() OVERRIDE;
+
+ ManagePasswordsUIControllerMock* ui_controller() { return ui_controller_; }
+ ManagePasswordsBubbleModel* model();
+
+ private:
+ ManagePasswordsUIControllerMock* ui_controller_;
+ scoped_ptr<content::WebContents> test_web_contents_;
+ scoped_ptr<ManagePasswordsBubbleModel> model_;
+};
+
+#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_

Powered by Google App Engine
This is Rietveld 408576698