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

Unified Diff: chrome/browser/chromeos/login/auth_sync_observer.h

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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
Index: chrome/browser/chromeos/login/auth_sync_observer.h
diff --git a/chrome/browser/chromeos/login/auth_sync_observer.h b/chrome/browser/chromeos/login/auth_sync_observer.h
deleted file mode 100644
index f5f093dc56e8e6008d1ffd668dcf73711d2436eb..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/auth_sync_observer.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/sync/profile_sync_service_observer.h"
-#include "components/keyed_service/core/keyed_service.h"
-
-class Profile;
-
-namespace chromeos {
-
-// This class is responsible for detecting authentication problems reported
-// by sync service and
-class AuthSyncObserver : public KeyedService,
- public ProfileSyncServiceObserver {
- public:
- explicit AuthSyncObserver(Profile* user_profile);
- virtual ~AuthSyncObserver();
-
- void StartObserving();
-
- private:
- friend class AuthSyncObserverFactory;
-
- // KeyedService implementation.
- virtual void Shutdown() OVERRIDE;
-
- // ProfileSyncServiceObserver implementation.
- virtual void OnStateChanged() OVERRIDE;
-
- // Called on attempt to restore supervised user token.
- void OnSupervisedTokenLoaded(const std::string& token);
-
- Profile* profile_;
-
- DISALLOW_COPY_AND_ASSIGN(AuthSyncObserver);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_
« no previous file with comments | « chrome/browser/chromeos/login/auth_prewarmer.cc ('k') | chrome/browser/chromeos/login/auth_sync_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698