Home | History | Annotate | Download | only in content

Lines Matching refs:context

35     const content::BrowserContext* context,
38 registered_preferences_.find(context);
41 registered_preferences_.insert(context);
46 content::BrowserContext* context) const {
50 dependency_manager_->AssertBrowserContextWasntDestroyed(context);
54 if (context->IsOffTheRecord())
57 return context;
61 content::BrowserContext* context) {
81 // to enforce a uniquenes check here because some tests create one context and
82 // multiple services of the same type attached to that context (serially, not
83 // parallel) and we don't want to register multiple times on the same context.
87 PrefService* prefs = user_prefs::UserPrefs::Get(context);
91 RegisterProfilePrefsIfNecessaryForContext(context, registry);
104 content::BrowserContext* context) {
109 registered_preferences_.erase(context);
113 content::BrowserContext* context) const {
114 return registered_preferences_.find(context) != registered_preferences_.end();
118 content::BrowserContext* context) {
119 DCHECK(!ArePreferencesSetOn(context));
120 registered_preferences_.insert(context);