Lines Matching full:profile
14 #include "chrome/browser/profiles/profile.h"
65 bool ExtensionEventRouter::CanCrossIncognito(Profile* profile,
68 profile->GetExtensionService()->GetExtensionById(extension_id, false);
69 return CanCrossIncognito(profile, extension);
73 bool ExtensionEventRouter::CanCrossIncognito(Profile* profile,
75 // We allow the extension to see events and data from another profile iff it
77 // extensions only see events for a matching profile.
79 (profile->GetExtensionService()->IsIncognitoEnabled(extension->id()) &&
83 ExtensionEventRouter::ExtensionEventRouter(Profile* profile)
84 : profile_(profile),
85 extension_devtools_manager_(profile->GetExtensionDevToolsManager()) {
161 Profile* restrict_to_profile, const GURL& event_url) {
168 Profile* restrict_to_profile, const GURL& event_url) {
177 Profile* restrict_to_profile, const GURL& event_url) {
181 // We don't expect to get events from a completely different profile.
203 // Is this event from a different profile than the renderer (ie, an
206 listener->process->profile() != restrict_to_profile;