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

Unified Diff: chrome/browser/chromeos/login/auth_sync_observer_factory.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_factory.h
diff --git a/chrome/browser/chromeos/login/auth_sync_observer_factory.h b/chrome/browser/chromeos/login/auth_sync_observer_factory.h
deleted file mode 100644
index 408a08934621ec8e4d0ab27603289888cf84671d..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/auth_sync_observer_factory.h
+++ /dev/null
@@ -1,45 +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_FACTORY_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_FACTORY_H_
-
-#include "base/memory/singleton.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-
-class Profile;
-
-namespace chromeos {
-
-class AuthSyncObserver;
-
-// Singleton that owns all AuthSyncObserver and associates them with
-// Profiles. Listens for the Profile's destruction notification and cleans up
-// the associated AuthSyncObserver.
-class AuthSyncObserverFactory
- : public BrowserContextKeyedServiceFactory {
- public:
- // Returns the instance of AuthSyncObserver associated with this
- // |profile| (creates one if none exists).
- static AuthSyncObserver* GetForProfile(Profile* profile);
-
- // Returns an instance of the AuthSyncObserverFactory singleton.
- static AuthSyncObserverFactory* GetInstance();
-
- private:
- friend struct DefaultSingletonTraits<AuthSyncObserverFactory>;
-
- AuthSyncObserverFactory();
- virtual ~AuthSyncObserverFactory();
-
- // BrowserContextKeyedServiceFactory implementation.
- virtual KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(AuthSyncObserverFactory);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_FACTORY_H_
« no previous file with comments | « chrome/browser/chromeos/login/auth_sync_observer.cc ('k') | chrome/browser/chromeos/login/auth_sync_observer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698