| 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_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 class MockHTMLOperationsInterface | 40 class MockHTMLOperationsInterface |
| 41 : public chromeos::HTMLOperationsInterface { | 41 : public chromeos::HTMLOperationsInterface { |
| 42 public: | 42 public: |
| 43 MockHTMLOperationsInterface() {} | 43 MockHTMLOperationsInterface() {} |
| 44 | 44 |
| 45 MOCK_METHOD0(GetLoginHTML, base::StringPiece()); | 45 MOCK_METHOD0(GetLoginHTML, base::StringPiece()); |
| 46 MOCK_METHOD0(GetLoginContainerHTML, base::StringPiece()); | 46 MOCK_METHOD0(GetLoginContainerHTML, base::StringPiece()); |
| 47 MOCK_METHOD2(GetFullHTML, | 47 MOCK_METHOD2(GetFullHTML, |
| 48 std::string(base::StringPiece login_html, | 48 std::string(base::StringPiece login_html, |
| 49 DictionaryValue* localized_strings)); | 49 DictionaryValue* localized_strings)); |
| 50 MOCK_METHOD1(CreateHTMLBytes, | |
| 51 RefCountedBytes*(std::string full_html)); | |
| 52 | 50 |
| 53 private: | 51 private: |
| 54 DISALLOW_COPY_AND_ASSIGN(MockHTMLOperationsInterface); | 52 DISALLOW_COPY_AND_ASSIGN(MockHTMLOperationsInterface); |
| 55 }; | 53 }; |
| 56 | 54 |
| 57 } // namespace chromeos | 55 } // namespace chromeos |
| 58 | 56 |
| 59 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ | 57 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HELPERS_H_ |
| OLD | NEW |