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

Unified Diff: chrome/browser/chromeos/cros/login_library.cc

Issue 1142005: Mocks for all libcros elements (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/cros/login_library.h ('k') | chrome/browser/chromeos/cros/mock_cros_library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/login_library.cc
===================================================================
--- chrome/browser/chromeos/cros/login_library.cc (revision 42341)
+++ chrome/browser/chromeos/cros/login_library.cc (working copy)
@@ -10,22 +10,17 @@
namespace chromeos {
-// static
-LoginLibrary* LoginLibrary::Get() {
- return Singleton<LoginLibrary>::get();
-}
-
-bool LoginLibrary::EmitLoginPromptReady() {
+bool LoginLibraryImpl::EmitLoginPromptReady() {
return chromeos::EmitLoginPromptReady();
}
-bool LoginLibrary::StartSession(const std::string& user_email,
+bool LoginLibraryImpl::StartSession(const std::string& user_email,
const std::string& unique_id /* unused */) {
// only pass unique_id through once we use it for something.
return chromeos::StartSession(user_email.c_str(), "");
}
-bool LoginLibrary::StopSession(const std::string& unique_id /* unused */) {
+bool LoginLibraryImpl::StopSession(const std::string& unique_id /* unused */) {
// only pass unique_id through once we use it for something.
return chromeos::StopSession("");
}
« no previous file with comments | « chrome/browser/chromeos/cros/login_library.h ('k') | chrome/browser/chromeos/cros/mock_cros_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698