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

Side by Side Diff: chrome/browser/supervised_user/custodian_profile_downloader_service.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.h" 5 #include "chrome/browser/supervised_user/custodian_profile_downloader_service.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/common/pref_names.h" 9 #include "chrome/common/pref_names.h"
10 #include "google_apis/gaia/gaia_auth_util.h" 10 #include "google_apis/gaia/gaia_auth_util.h"
11 11
12 CustodianProfileDownloaderService::CustodianProfileDownloaderService( 12 CustodianProfileDownloaderService::CustodianProfileDownloaderService(
13 Profile* custodian_profile) 13 Profile* custodian_profile)
14 : custodian_profile_(custodian_profile) { 14 : custodian_profile_(custodian_profile) {
15 } 15 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 last_downloaded_profile_email_ = in_progress_profile_email_; 68 last_downloaded_profile_email_ = in_progress_profile_email_;
69 } 69 }
70 70
71 void CustodianProfileDownloaderService::OnProfileDownloadFailure( 71 void CustodianProfileDownloaderService::OnProfileDownloadFailure(
72 ProfileDownloader* downloader, 72 ProfileDownloader* downloader,
73 ProfileDownloaderDelegate::FailureReason reason) { 73 ProfileDownloaderDelegate::FailureReason reason) {
74 // Ignore failures; proceed without the custodian's name. 74 // Ignore failures; proceed without the custodian's name.
75 download_callback_.Reset(); 75 download_callback_.Reset();
76 profile_downloader_.reset(); 76 profile_downloader_.reset();
77 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698