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

Side by Side Diff: chrome/browser/chromeos/webui/login/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_LOGIN_UI_HELPERS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_LOGIN_UI_HELPERS_H_
6 #define CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_LOGIN_UI_HELPERS_H_ 6 #define CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_LOGIN_UI_HELPERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // external calls that are required for creating and getting the needed HTML 58 // external calls that are required for creating and getting the needed HTML
59 // objects. This allows for easier mocking of this code and allows for 59 // objects. This allows for easier mocking of this code and allows for
60 // modularity. Since we don't currently unit the class that this code is related 60 // modularity. Since we don't currently unit the class that this code is related
61 // to, there is a case for refactoring it back into LoginUIHTMLSource. 61 // to, there is a case for refactoring it back into LoginUIHTMLSource.
62 class HTMLOperationsInterface { 62 class HTMLOperationsInterface {
63 public: 63 public:
64 HTMLOperationsInterface() {} 64 HTMLOperationsInterface() {}
65 virtual ~HTMLOperationsInterface() {} 65 virtual ~HTMLOperationsInterface() {}
66 66
67 virtual base::StringPiece GetLoginHTML(); 67 virtual base::StringPiece GetLoginHTML();
68 virtual base::StringPiece GetLoginContainerHTML();
68 virtual std::string GetFullHTML(base::StringPiece login_html, 69 virtual std::string GetFullHTML(base::StringPiece login_html,
69 DictionaryValue* localized_strings); 70 DictionaryValue* localized_strings);
70 virtual RefCountedBytes* CreateHTMLBytes(std::string full_html); 71 virtual RefCountedBytes* CreateHTMLBytes(std::string full_html);
71 72
72 private: 73 private:
73 DISALLOW_COPY_AND_ASSIGN(HTMLOperationsInterface); 74 DISALLOW_COPY_AND_ASSIGN(HTMLOperationsInterface);
74 }; 75 };
75 76
76 } // namespace chromeos 77 } // namespace chromeos
77 78
78 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_LOGIN_UI_HELPERS_H_ 79 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_LOGIN_UI_HELPERS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/webui/login/login_ui.cc ('k') | chrome/browser/chromeos/webui/login/login_ui_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698