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

Side by Side Diff: chrome/browser/chromeos/webui/login/mock_login_ui_helpers.h

Issue 6577003: Entire DOMBrowser stack (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/webui/login/login_ui_helpers.cc ('k') | chrome/browser/resources/login_container.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698