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

Side by Side Diff: chrome/browser/supervised_user/custodian_profile_downloader_service_factory.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/managed_mode/custodian_profile_downloader_service_facto ry.h" 5 #include "chrome/browser/supervised_user/custodian_profile_downloader_service_fa ctory.h"
6 6
7 #include "chrome/browser/managed_mode/custodian_profile_downloader_service.h"
8 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 8 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
9 #include "chrome/browser/supervised_user/custodian_profile_downloader_service.h"
10 #include "components/keyed_service/content/browser_context_dependency_manager.h" 10 #include "components/keyed_service/content/browser_context_dependency_manager.h"
11 11
12 // static 12 // static
13 CustodianProfileDownloaderService* 13 CustodianProfileDownloaderService*
14 CustodianProfileDownloaderServiceFactory::GetForProfile( 14 CustodianProfileDownloaderServiceFactory::GetForProfile(
15 Profile* profile) { 15 Profile* profile) {
16 return static_cast<CustodianProfileDownloaderService*>( 16 return static_cast<CustodianProfileDownloaderService*>(
17 GetInstance()->GetServiceForBrowserContext(profile, true)); 17 GetInstance()->GetServiceForBrowserContext(profile, true));
18 } 18 }
19 19
(...skipping 13 matching lines...) Expand all
33 } 33 }
34 34
35 CustodianProfileDownloaderServiceFactory:: 35 CustodianProfileDownloaderServiceFactory::
36 ~CustodianProfileDownloaderServiceFactory() {} 36 ~CustodianProfileDownloaderServiceFactory() {}
37 37
38 KeyedService* CustodianProfileDownloaderServiceFactory::BuildServiceInstanceFor( 38 KeyedService* CustodianProfileDownloaderServiceFactory::BuildServiceInstanceFor(
39 content::BrowserContext* profile) const { 39 content::BrowserContext* profile) const {
40 return new CustodianProfileDownloaderService(static_cast<Profile*>(profile)); 40 return new CustodianProfileDownloaderService(static_cast<Profile*>(profile));
41 } 41 }
42 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698