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

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

Issue 7397021: Re-land r93365 - add RefCountedString (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 9 years, 5 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_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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/login_ui_helpers.cc ('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