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

Unified Diff: chrome/browser/signin/signin_manager_fake.h

Issue 12077030: Allow signin to continue even if sync is disabled by policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows sync integration test failure Created 7 years, 11 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/signin/signin_manager.cc ('k') | chrome/browser/signin/signin_manager_fake.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_manager_fake.h
diff --git a/chrome/browser/signin/signin_manager_fake.h b/chrome/browser/signin/signin_manager_fake.h
index 2cd46d7d691dc707e3e9d5ce63a42bab7f2eb09a..a4ef85af0699ad2c856efd973999689beae7a9ba 100644
--- a/chrome/browser/signin/signin_manager_fake.h
+++ b/chrome/browser/signin/signin_manager_fake.h
@@ -31,8 +31,16 @@ class FakeSigninManager : public SigninManager {
const std::string& password) OVERRIDE;
virtual void SignOut() OVERRIDE;
+ virtual bool AuthInProgress() const OVERRIDE;
+ void set_auth_in_progress(bool in_progress) {
+ auth_in_progress_ = in_progress;
+ }
+
// Helper function to be used with ProfileKeyedService::SetTestingFactory().
static ProfileKeyedService* Build(Profile* profile);
+
+ private:
+ bool auth_in_progress_;
};
#endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_
« no previous file with comments | « chrome/browser/signin/signin_manager.cc ('k') | chrome/browser/signin/signin_manager_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698