Lines Matching defs:service
18 // Returns the session service for |profile|. This may return NULL. If this
19 // profile supports a session service (it isn't incognito), and the session
20 // service hasn't yet been created, this forces creation of the session
21 // service.
27 // Returns the session service for |profile|, but do not create it if it
29 // service has been explicitly shutdown (browser is exiting). Callers should
33 // If |profile| has a session service, it is shut down. To properly record the
34 // current state this forces creation of the session service, then shuts it
39 // For test use: force setting of the session service for a given profile.
40 // This will delete a previous session service for this profile if it exists.
41 static void SetForTestProfile(Profile* profile, SessionService* service) {
44 GetInstance()->Associate(profile, service);