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

Unified Diff: chrome/browser/supervised_user/supervised_user_settings_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_settings_service_factory.h
diff --git a/chrome/browser/managed_mode/managed_user_settings_service_factory.h b/chrome/browser/supervised_user/supervised_user_settings_service_factory.h
similarity index 47%
rename from chrome/browser/managed_mode/managed_user_settings_service_factory.h
rename to chrome/browser/supervised_user/supervised_user_settings_service_factory.h
index 084966c7f909632f2c4ec8f01ee619ccc388dba8..b69adf03528940b049fe6aaaa6bba57afe5016f5 100644
--- a/chrome/browser/managed_mode/managed_user_settings_service_factory.h
+++ b/chrome/browser/supervised_user/supervised_user_settings_service_factory.h
@@ -2,28 +2,28 @@
// 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_SETTINGS_SERVICE_FACTORY_H_
-#define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SETTINGS_SERVICE_FACTORY_H_
+#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_FACTORY_H_
+#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_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 ManagedUserSettingsService;
class Profile;
+class SupervisedUserSettingsService;
-class ManagedUserSettingsServiceFactory
+class SupervisedUserSettingsServiceFactory
: public BrowserContextKeyedServiceFactory {
public:
- static ManagedUserSettingsService* GetForProfile(Profile* profile);
+ static SupervisedUserSettingsService* GetForProfile(Profile* profile);
- static ManagedUserSettingsServiceFactory* GetInstance();
+ static SupervisedUserSettingsServiceFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<ManagedUserSettingsServiceFactory>;
+ friend struct DefaultSingletonTraits<SupervisedUserSettingsServiceFactory>;
- ManagedUserSettingsServiceFactory();
- virtual ~ManagedUserSettingsServiceFactory();
+ SupervisedUserSettingsServiceFactory();
+ virtual ~SupervisedUserSettingsServiceFactory();
// BrowserContextKeyedServiceFactory:
virtual KeyedService* BuildServiceInstanceFor(
@@ -32,4 +32,4 @@ class ManagedUserSettingsServiceFactory
content::BrowserContext* context) const OVERRIDE;
};
-#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SETTINGS_SERVICE_FACTORY_H_
+#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698