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

Unified Diff: chrome/browser/supervised_user/supervised_user_service_factory.h

Issue 335833003: Rename "managed (mode|user)" to "supervised user" (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments (+ a few other cleanups) Created 6 years, 6 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/supervised_user/supervised_user_service_factory.h
diff --git a/chrome/browser/managed_mode/managed_user_service_factory.h b/chrome/browser/supervised_user/supervised_user_service_factory.h
similarity index 51%
rename from chrome/browser/managed_mode/managed_user_service_factory.h
rename to chrome/browser/supervised_user/supervised_user_service_factory.h
index 059439ccc50a468ee10c38a560ca717a7479376c..61b8c0f32d9dee34bb0c8270768a43a9e6a54d37 100644
--- a/chrome/browser/managed_mode/managed_user_service_factory.h
+++ b/chrome/browser/supervised_user/supervised_user_service_factory.h
@@ -2,30 +2,30 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_FACTORY_H_
-#define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_FACTORY_H_
+#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_FACTORY_H_
+#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_FACTORY_H_
#include "base/memory/singleton.h"
-#include "chrome/browser/managed_mode/managed_users.h"
+#include "chrome/browser/supervised_user/supervised_users.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-class ManagedUserService;
class Profile;
+class SupervisedUserService;
-class ManagedUserServiceFactory : public BrowserContextKeyedServiceFactory {
+class SupervisedUserServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- static ManagedUserService* GetForProfile(Profile* profile);
+ static SupervisedUserService* GetForProfile(Profile* profile);
- static ManagedUserServiceFactory* GetInstance();
+ static SupervisedUserServiceFactory* GetInstance();
// Used to create instances for testing.
static KeyedService* BuildInstanceFor(Profile* profile);
private:
- friend struct DefaultSingletonTraits<ManagedUserServiceFactory>;
+ friend struct DefaultSingletonTraits<SupervisedUserServiceFactory>;
- ManagedUserServiceFactory();
- virtual ~ManagedUserServiceFactory();
+ SupervisedUserServiceFactory();
+ virtual ~SupervisedUserServiceFactory();
// BrowserContextKeyedServiceFactory:
virtual content::BrowserContext* GetBrowserContextToUse(
@@ -34,4 +34,4 @@ class ManagedUserServiceFactory : public BrowserContextKeyedServiceFactory {
content::BrowserContext* profile) const OVERRIDE;
};
-#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_FACTORY_H_
+#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698