| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_LOGIN_LIBRARY_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_LOGIN_LIBRARY_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "chrome/browser/chromeos/cros/login_library.h" | |
| 11 | |
| 12 namespace chromeos { | |
| 13 | |
| 14 class FakeLoginLibrary : public LoginLibrary { | |
| 15 public: | |
| 16 FakeLoginLibrary() {} | |
| 17 virtual ~FakeLoginLibrary() {} | |
| 18 virtual bool EmitLoginPromptReady() { | |
| 19 return true; | |
| 20 } | |
| 21 virtual bool StartSession(const std::string& user_email, | |
| 22 const std::string& unique_id) { | |
| 23 return true; | |
| 24 } | |
| 25 virtual bool StopSession(const std::string& unique_id) { | |
| 26 return true; | |
| 27 } | |
| 28 }; | |
| 29 | |
| 30 } // namespace chromeos | |
| 31 | |
| 32 #endif // CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_LOGIN_LIBRARY_H_ | |
| OLD | NEW |