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

Unified Diff: chrome/browser/profiles/profile.h

Issue 8840003: Replace ProfileManagerObserver with callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 9 years 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/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 8a2f4aec927bf4b6e2e17490814ab2c17786d52d..fcda108de69001997d30339c5793fe0a8495b651 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -112,6 +112,15 @@ class Profile : public content::BrowserContext {
IMPLICIT_ACCESS
};
+ enum CreateStatus {
+ // Profile services were not created.
+ CREATE_STATUS_FAIL,
+ // Profile created but before initializing extensions and promo resources.
+ CREATE_STATUS_CREATED,
+ // Profile is created, extensions and promo resources are initialized.
+ CREATE_STATUS_INITIALIZED,
+ };
+
class Delegate {
public:
// Called when creation of the profile is finished.

Powered by Google App Engine
This is Rietveld 408576698