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

Unified Diff: chrome/browser/supervised_user/supervised_user_shared_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_shared_settings_service_factory.h
diff --git a/chrome/browser/managed_mode/managed_user_shared_settings_service_factory.h b/chrome/browser/supervised_user/supervised_user_shared_settings_service_factory.h
similarity index 42%
rename from chrome/browser/managed_mode/managed_user_shared_settings_service_factory.h
rename to chrome/browser/supervised_user/supervised_user_shared_settings_service_factory.h
index 6f4a0ac3cc04bbf0ada39b1959bd005199b8dcd4..a5f9d08e54bcc746ee2f6326a078c7a517db819b 100644
--- a/chrome/browser/managed_mode/managed_user_shared_settings_service_factory.h
+++ b/chrome/browser/supervised_user/supervised_user_shared_settings_service_factory.h
@@ -2,32 +2,33 @@
// 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_SHARED_SETTINGS_SERVICE_FACTORY_H_
-#define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SHARED_SETTINGS_SERVICE_FACTORY_H_
+#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SHARED_SETTINGS_SERVICE_FACTORY_H_
+#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SHARED_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 ManagedUserSharedSettingsService;
+class SupervisedUserSharedSettingsService;
-class ManagedUserSharedSettingsServiceFactory
+class SupervisedUserSharedSettingsServiceFactory
: public BrowserContextKeyedServiceFactory {
public:
- static ManagedUserSharedSettingsService* GetForBrowserContext(
+ static SupervisedUserSharedSettingsService* GetForBrowserContext(
content::BrowserContext* profile);
- static ManagedUserSharedSettingsServiceFactory* GetInstance();
+ static SupervisedUserSharedSettingsServiceFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<ManagedUserSharedSettingsServiceFactory>;
+ friend struct DefaultSingletonTraits<
+ SupervisedUserSharedSettingsServiceFactory>;
- ManagedUserSharedSettingsServiceFactory();
- virtual ~ManagedUserSharedSettingsServiceFactory();
+ SupervisedUserSharedSettingsServiceFactory();
+ virtual ~SupervisedUserSharedSettingsServiceFactory();
// BrowserContextKeyedServiceFactory:
virtual KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};
-#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SHARED_SETTINGS_SERVICE_FACTORY_H_
+#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SHARED_SETTINGS_SERVICE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698