Lines Matching defs:Profile

71 // Instead of adding more members to Profile, consider creating a
74 class Profile : public content::BrowserContext {
76 // Profile services are accessed with the following parameter. This parameter
102 // Profile services were not created due to a local error (e.g., disk full).
104 // Profile services were not created due to a remote error (e.g., network
107 // Profile created but before initializing extensions and promo resources.
109 // Profile is created, extensions and promo resources are initialized.
111 // Profile creation (managed-user registration, generally) was canceled
138 virtual void OnProfileCreated(Profile* profile,
146 Profile();
147 virtual ~Profile();
149 // Profile prefs are registered as soon as the prefs are loaded for the first
155 Profile* profile);
159 static Profile* CreateProfile(const base::FilePath& path,
164 static Profile* FromBrowserContext(content::BrowserContext* browser_context);
167 static Profile* FromWebUI(content::WebUI* web_ui);
189 virtual Profile* GetOffTheRecordProfile() = 0;
199 virtual Profile* GetOriginalProfile() = 0;
247 virtual bool IsSameProfile(Profile* profile) = 0;
259 // still has to happen in the Profile so the StoragePartition calls
268 // StoragePartition, but creation still has to happen in the Profile so the
318 // invoked after the Profile instance has been destroyed.
379 // Send NOTIFICATION_PROFILE_DESTROYED for this Profile, if it has not
384 // Creates an OffTheRecordProfile which points to this Profile.
385 Profile* CreateOffTheRecordProfile();
390 // Used to prevent the notification that this Profile is destroyed from
400 DISALLOW_COPY_AND_ASSIGN(Profile);
407 struct hash<Profile*> {
408 std::size_t operator()(Profile* const& p) const {