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

Side by Side Diff: chrome/browser/supervised_user/custodian_profile_downloader_service.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 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 #ifndef CHROME_BROWSER_MANAGED_MODE_CUSTODIAN_PROFILE_DOWNLOADER_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_CUSTODIAN_PROFILE_DOWNLOADER_SERVICE_H_
6 #define CHROME_BROWSER_MANAGED_MODE_CUSTODIAN_PROFILE_DOWNLOADER_SERVICE_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_CUSTODIAN_PROFILE_DOWNLOADER_SERVICE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "chrome/browser/profiles/profile_downloader.h" 9 #include "chrome/browser/profiles/profile_downloader.h"
10 #include "chrome/browser/profiles/profile_downloader_delegate.h" 10 #include "chrome/browser/profiles/profile_downloader_delegate.h"
11 #include "components/keyed_service/core/keyed_service.h" 11 #include "components/keyed_service/core/keyed_service.h"
12 12
13 class CustodianProfileDownloaderService : public KeyedService, 13 class CustodianProfileDownloaderService : public KeyedService,
14 public ProfileDownloaderDelegate { 14 public ProfileDownloaderDelegate {
15 public: 15 public:
16 // Callback for DownloadProfile() below. If the GAIA profile download is 16 // Callback for DownloadProfile() below. If the GAIA profile download is
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 scoped_ptr<ProfileDownloader> profile_downloader_; 49 scoped_ptr<ProfileDownloader> profile_downloader_;
50 DownloadProfileCallback download_callback_; 50 DownloadProfileCallback download_callback_;
51 51
52 // Owns us via the KeyedService mechanism. 52 // Owns us via the KeyedService mechanism.
53 Profile* custodian_profile_; 53 Profile* custodian_profile_;
54 54
55 std::string last_downloaded_profile_email_; 55 std::string last_downloaded_profile_email_;
56 std::string in_progress_profile_email_; 56 std::string in_progress_profile_email_;
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_MANAGED_MODE_CUSTODIAN_PROFILE_DOWNLOADER_SERVICE_H_ 59 #endif // CHROME_BROWSER_SUPERVISED_USER_CUSTODIAN_PROFILE_DOWNLOADER_SERVICE_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698