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

Unified Diff: chrome/browser/ui/webui/chromeos/login/mock_login_ui_helpers.h

Issue 7980012: [ChromeOS] Reland - Make WebUI login use only needed resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/webui/chromeos/login/mock_login_ui_helpers.h
diff --git a/chrome/browser/ui/webui/chromeos/login/mock_login_ui_helpers.h b/chrome/browser/ui/webui/chromeos/login/mock_login_ui_helpers.h
deleted file mode 100644
index 96cea78a74e01bca7bf9e489c66ae85ff9aa4a29..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/chromeos/login/mock_login_ui_helpers.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2011 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_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_
-#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_
-#pragma once
-
-#include <string>
-
-#include "chrome/browser/ui/webui/chromeos/login/login_ui_helpers.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace chromeos {
-
-class MockProfileOperationsInterface
- : public chromeos::ProfileOperationsInterface {
- public:
- MockProfileOperationsInterface() {}
-
- MOCK_METHOD0(GetDefaultProfile, Profile*());
- MOCK_METHOD0(GetDefaultProfileByPath, Profile*());
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockProfileOperationsInterface);
-};
-
-class MockBrowserOperationsInterface
- : public chromeos::BrowserOperationsInterface {
- public:
- MockBrowserOperationsInterface() {}
-
- MOCK_METHOD1(CreateBrowser, Browser*(Profile* profile));
- MOCK_METHOD1(GetLoginBrowser, Browser*(Profile* profile));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockBrowserOperationsInterface);
-};
-
-class MockHTMLOperationsInterface
- : public chromeos::HTMLOperationsInterface {
- public:
- MockHTMLOperationsInterface() {}
-
- MOCK_METHOD0(GetLoginHTML, base::StringPiece());
- MOCK_METHOD0(GetLoginContainerHTML, base::StringPiece());
- MOCK_METHOD2(GetFullHTML,
- std::string(base::StringPiece login_html,
- DictionaryValue* localized_strings));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockHTMLOperationsInterface);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/mock_login_ui_handler.h ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698