| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 DISALLOW_COPY_AND_ASSIGN(MockBrowserOperationsInterface); | 41 DISALLOW_COPY_AND_ASSIGN(MockBrowserOperationsInterface); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 class MockHTMLOperationsInterface | 44 class MockHTMLOperationsInterface |
| 45 : public chromeos::HTMLOperationsInterface { | 45 : public chromeos::HTMLOperationsInterface { |
| 46 public: | 46 public: |
| 47 MockHTMLOperationsInterface() {} | 47 MockHTMLOperationsInterface() {} |
| 48 | 48 |
| 49 MOCK_METHOD0(GetLoginHTML, | 49 MOCK_METHOD0(GetLoginHTML, |
| 50 base::StringPiece()); | 50 base::StringPiece()); |
| 51 MOCK_METHOD0(GetLoginContainerHTML, |
| 52 base::StringPiece()); |
| 51 MOCK_METHOD2(GetFullHTML, | 53 MOCK_METHOD2(GetFullHTML, |
| 52 std::string(base::StringPiece login_html, | 54 std::string(base::StringPiece login_html, |
| 53 DictionaryValue* localized_strings)); | 55 DictionaryValue* localized_strings)); |
| 54 MOCK_METHOD1(CreateHTMLBytes, | 56 MOCK_METHOD1(CreateHTMLBytes, |
| 55 RefCountedBytes*(std::string full_html)); | 57 RefCountedBytes*(std::string full_html)); |
| 56 | 58 |
| 57 private: | 59 private: |
| 58 DISALLOW_COPY_AND_ASSIGN(MockHTMLOperationsInterface); | 60 DISALLOW_COPY_AND_ASSIGN(MockHTMLOperationsInterface); |
| 59 }; | 61 }; |
| 60 | 62 |
| 61 } // namespace chromeos | 63 } // namespace chromeos |
| 62 | 64 |
| 63 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ | 65 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ |
| OLD | NEW |