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

Unified Diff: chrome/browser/supervised_user/supervised_user_sync_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_sync_service_factory.h
diff --git a/chrome/browser/managed_mode/managed_user_sync_service_factory.h b/chrome/browser/supervised_user/supervised_user_sync_service_factory.h
similarity index 46%
rename from chrome/browser/managed_mode/managed_user_sync_service_factory.h
rename to chrome/browser/supervised_user/supervised_user_sync_service_factory.h
index 11f7de3853eae5db6a728d80f49d33087b2a6423..d5892ca6397640f94b7d92d49e41f573b3c67d80 100644
--- a/chrome/browser/managed_mode/managed_user_sync_service_factory.h
+++ b/chrome/browser/supervised_user/supervised_user_sync_service_factory.h
@@ -2,31 +2,31 @@
// 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_SYNC_SERVICE_FACTORY_H_
-#define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_FACTORY_H_
+#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_FACTORY_H_
+#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_FACTORY_H_
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-class ManagedUserSyncService;
class Profile;
+class SupervisedUserSyncService;
-class ManagedUserSyncServiceFactory
+class SupervisedUserSyncServiceFactory
: public BrowserContextKeyedServiceFactory {
public:
- static ManagedUserSyncService* GetForProfile(Profile* profile);
+ static SupervisedUserSyncService* GetForProfile(Profile* profile);
- static ManagedUserSyncServiceFactory* GetInstance();
+ static SupervisedUserSyncServiceFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<ManagedUserSyncServiceFactory>;
+ friend struct DefaultSingletonTraits<SupervisedUserSyncServiceFactory>;
- ManagedUserSyncServiceFactory();
- virtual ~ManagedUserSyncServiceFactory();
+ SupervisedUserSyncServiceFactory();
+ virtual ~SupervisedUserSyncServiceFactory();
// BrowserContextKeyedServiceFactory:
virtual KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};
-#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_FACTORY_H_
+#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698