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

Unified Diff: chrome/browser/chromeos/login/profile_auth_data.h

Issue 292663018: [cros login] Cleanup: replace some of Profile usages with BrowserContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing include, fix ProxySettingsDialog ctor Created 6 years, 7 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/chromeos/login/profile_auth_data.h
diff --git a/chrome/browser/chromeos/login/profile_auth_data.h b/chrome/browser/chromeos/login/profile_auth_data.h
index a7805e4db2ac2ab1495ca47c9a04ba43547d3c4d..f4f25b9c8bfef9ea105b09a5c28fed4a95cb0190 100644
--- a/chrome/browser/chromeos/login/profile_auth_data.h
+++ b/chrome/browser/chromeos/login/profile_auth_data.h
@@ -8,20 +8,22 @@
#include <string>
#include "base/callback.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
namespace chromeos {
-// Helper class for transferring authentication related data from one profile
-// to another: proxy authentication cache, cookies, server bound certs.
+// Helper class for transferring authentication related data from one
+// BrowserContext to another: proxy auth cache, cookies, server bound certs.
class ProfileAuthData {
public:
// Transfers proxy authentication cache and optionally |transfer_cookies| and
- // server bound certs from the profile that was used for authentication.
- // |completion_callback| will be called on UI thread after the operation is
- // completed.
- static void Transfer(Profile* from_profile,
- Profile* to_profile,
+ // server bound certs from the BrowserContext that was used for
+ // authentication. |completion_callback| will be called on UI thread after
+ // the operation is completed.
+ static void Transfer(content::BrowserContext* from_context,
+ content::BrowserContext* to_context,
bool transfer_cookies,
const base::Closure& completion_callback);
« no previous file with comments | « chrome/browser/chromeos/login/lock/screen_locker.cc ('k') | chrome/browser/chromeos/login/profile_auth_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698