Lines Matching defs:Profile

68 // Instead of adding more members to Profile, consider creating a
71 class Profile : public content::BrowserContext {
73 // Profile services are accessed with the following parameter. This parameter
99 // Profile services were not created due to a local error (e.g., disk full).
101 // Profile services were not created due to a remote error (e.g., network
104 // Profile created but before initializing extensions and promo resources.
106 // Profile is created, extensions and promo resources are initialized.
108 // Profile creation (supervised-user registration, generally) was canceled
141 virtual void OnProfileCreated(Profile* profile,
149 Profile();
150 virtual ~Profile();
152 // Profile prefs are registered as soon as the prefs are loaded for the first
158 static Profile* CreateProfile(const base::FilePath& path,
163 static Profile* FromBrowserContext(content::BrowserContext* browser_context);
166 static Profile* FromWebUI(content::WebUI* web_ui);
191 virtual Profile* GetOffTheRecordProfile() = 0;
201 virtual Profile* GetOriginalProfile() = 0;
243 virtual bool IsSameProfile(Profile* profile) = 0;
255 // still has to happen in the Profile so the StoragePartition calls
265 // 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);
405 bool operator()(Profile* a, Profile* b) const;
412 struct hash<Profile*> {
413 std::size_t operator()(Profile* const& p) const {