Home
last modified time | relevance | path

Searched refs:profile_id (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium/chrome/browser/extensions/
Dextension_event_router_forwarder.cc26 ProfileId profile_id, bool use_profile_to_restrict_events, in DispatchEventToRenderers() argument
28 if (profile_id == Profile::kInvalidProfileId) in DispatchEventToRenderers()
30 HandleEvent("", event_name, event_args, profile_id, in DispatchEventToRenderers()
44 ProfileId profile_id, bool use_profile_to_restrict_events, in DispatchEventToExtension() argument
46 if (profile_id == Profile::kInvalidProfileId) in DispatchEventToExtension()
48 HandleEvent(extension_id, event_name, event_args, profile_id, in DispatchEventToExtension()
55 ProfileId profile_id, bool use_profile_to_restrict_events, in HandleEvent() argument
63 extension_id, event_name, event_args, profile_id, in HandleEvent()
73 if (profile_id != Profile::kInvalidProfileId) { in HandleEvent()
74 profile = profile_manager->GetProfileWithId(profile_id); in HandleEvent()
Dextension_webrequest_api.h42 int OnBeforeRequest(ProfileId profile_id,
52 int OnBeforeSendHeaders(ProfileId profile_id,
58 void OnURLRequestDestroyed(ProfileId profile_id, net::URLRequest* request);
63 ProfileId profile_id,
76 ProfileId profile_id,
85 ProfileId profile_id,
102 ProfileId profile_id,
112 ProfileId profile_id,
121 ProfileId profile_id,
Dextension_webrequest_api.cc115 ProfileId profile_id, in AddEventListenerOnIOThread() argument
122 profile_id, extension_id, event_name, sub_event_name, filter, in AddEventListenerOnIOThread()
127 ProfileId profile_id, in EventHandledOnIOThread() argument
135 profile_id, extension_id, event_name, sub_event_name, request_id, in EventHandledOnIOThread()
292 ProfileId profile_id, in OnBeforeRequest() argument
298 if (profile_id == Profile::kInvalidProfileId) in OnBeforeRequest()
307 GetMatchingListeners(profile_id, keys::kOnBeforeRequest, request->url(), in OnBeforeRequest()
331 if (DispatchEvent(profile_id, event_router, request, callback, listeners, in OnBeforeRequest()
340 ProfileId profile_id, in OnBeforeSendHeaders() argument
346 if (profile_id == Profile::kInvalidProfileId) in OnBeforeSendHeaders()
[all …]
Dextension_event_router_forwarder.h56 ProfileId profile_id,
67 ProfileId profile_id,
93 ProfileId profile_id,
Dextension_proxy_api.cc34 ProfileId profile_id, in OnProxyError() argument
46 if (profile_id != Profile::kInvalidProfileId) { in OnProxyError()
48 keys::kProxyEventOnProxyError, json_args, profile_id, true, GURL()); in OnProxyError()
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dgallery_watch_manager.cc238 void* profile_id) { in GetForProfile() argument
240 DCHECK(profile_id); in GetForProfile()
242 GalleryWatchManager::HasForProfile(profile_id)); in GetForProfile()
246 (*g_gallery_watch_managers)[profile_id] = new GalleryWatchManager; in GetForProfile()
247 return (*g_gallery_watch_managers)[profile_id]; in GetForProfile()
251 bool GalleryWatchManager::HasForProfile(void* profile_id) { in HasForProfile() argument
253 DCHECK(profile_id); in HasForProfile()
257 g_gallery_watch_managers->find(profile_id); in HasForProfile()
262 void GalleryWatchManager::OnProfileShutdown(void* profile_id) { in OnProfileShutdown() argument
264 DCHECK(profile_id); in OnProfileShutdown()
[all …]
Dgallery_watch_manager.h28 static GalleryWatchManager* GetForProfile(void* profile_id);
32 static bool HasForProfile(void* profile_id);
35 static void OnProfileShutdown(void* profile_id);
43 void* profile_id,
52 static void RemoveGalleryWatch(void* profile_id,
57 static void OnExtensionUnloaded(void* profile_id,
/external/chromium_org/ui/message_center/
Dnotifier_settings.cc31 if (profile_id != other.profile_id) in operator ==()
44 if (profile_id != other.profile_id) in operator <()
45 return profile_id < other.profile_id; in operator <()
/external/bluetooth/bluedroid/btif/src/
Dbluetooth.c301 static const void* get_profile_interface (const char *profile_id) in get_profile_interface() argument
303 ALOGI("get_profile_interface %s", profile_id); in get_profile_interface()
310 if (is_profile(profile_id, BT_PROFILE_HANDSFREE_ID)) in get_profile_interface()
313 if (is_profile(profile_id, BT_PROFILE_SOCKETS_ID)) in get_profile_interface()
316 if (is_profile(profile_id, BT_PROFILE_PAN_ID)) in get_profile_interface()
319 if (is_profile(profile_id, BT_PROFILE_ADVANCED_AUDIO_ID)) in get_profile_interface()
322 if (is_profile(profile_id, BT_PROFILE_HIDHOST_ID)) in get_profile_interface()
325 if (is_profile(profile_id, BT_PROFILE_HEALTH_ID)) in get_profile_interface()
329 if (is_profile(profile_id, BT_PROFILE_GATT_ID)) in get_profile_interface()
333 if (is_profile(profile_id, BT_PROFILE_AV_RC_ID)) in get_profile_interface()
/external/chromium_org/chrome/browser/extensions/
Duser_script_listener.cc153 void UserScriptListener::UserScriptsReady(void* profile_id) { in UserScriptsReady() argument
156 profile_data_[profile_id].user_scripts_ready = true; in UserScriptsReady()
160 void UserScriptListener::ProfileDestroyed(void* profile_id) { in ProfileDestroyed() argument
162 profile_data_.erase(profile_id); in ProfileDestroyed()
168 void UserScriptListener::AppendNewURLPatterns(void* profile_id, in AppendNewURLPatterns() argument
174 ProfileData& data = profile_data_[profile_id]; in AppendNewURLPatterns()
181 void UserScriptListener::ReplaceURLPatterns(void* profile_id, in ReplaceURLPatterns() argument
185 ProfileData& data = profile_data_[profile_id]; in ReplaceURLPatterns()
Duser_script_listener.h68 void UserScriptsReady(void* profile_id);
71 void ProfileDestroyed(void* profile_id);
75 void AppendNewURLPatterns(void* profile_id, const URLPatterns& new_patterns);
79 void ReplaceURLPatterns(void* profile_id, const URLPatterns& patterns);
/external/chromium/chrome/browser/net/
Dchrome_network_delegate.cc25 ProfileId profile_id) { in ForwardProxyErrors() argument
32 event_router, profile_id, request->status().os_error()); in ForwardProxyErrors()
41 ProfileId profile_id, in ChromeNetworkDelegate() argument
45 profile_id_(profile_id), in ChromeNetworkDelegate()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dprivate_api_file_system.cc112 file_manager::EventRouter* GetEventRouterByProfileId(void* profile_id) { in GetEventRouterByProfileId() argument
117 Profile* profile = reinterpret_cast<Profile*>(profile_id); in GetEventRouterByProfileId()
126 void* profile_id, in NotifyCopyProgress() argument
135 GetEventRouterByProfileId(profile_id); in NotifyCopyProgress()
145 void* profile_id, in OnCopyProgress() argument
156 profile_id, *operation_id, type, in OnCopyProgress()
162 void* profile_id, in NotifyCopyCompletion() argument
170 GetEventRouterByProfileId(profile_id); in NotifyCopyCompletion()
180 void* profile_id, in OnCopyCompleted() argument
190 profile_id, *operation_id, in OnCopyCompleted()
[all …]
/external/chromium/chrome/browser/ui/views/extensions/
Dbrowser_action_drag_data_unittest.cc41 const ProfileId profile_id = profile.GetRuntimeId(); in TEST_F() local
43 pickle.WriteBytes(&profile_id, sizeof(profile_id)); in TEST_F()
Dbrowser_action_drag_data.cc68 ProfileId profile_id = profile->GetRuntimeId(); in WriteToPickle() local
69 pickle->WriteBytes(&profile_id, sizeof(profile_id)); in WriteToPickle()
/external/chromium_org/chrome/browser/notifications/
Dmulti_user_notification_blocker_chromeos_unittest.cc93 const std::string profile_id) { in ShouldShowNotificationAsPopup() argument
95 id_with_profile.profile_id = profile_id; in ShouldShowNotificationAsPopup()
101 const std::string profile_id) { in ShouldShowNotification() argument
103 id_with_profile.profile_id = profile_id; in ShouldShowNotification()
/external/chromium/chrome/browser/
Dshell_integration_win.cc60 std::wstring profile_id; in GetProfileIdFromPath() local
61 profile_id.reserve(basenames.size()); in GetProfileIdFromPath()
68 profile_id += basenames[i]; in GetProfileIdFromPath()
71 return profile_id; in GetProfileIdFromPath()
401 std::wstring profile_id(GetProfileIdFromPath(profile_path)); in GetAppId() local
402 if (!profile_id.empty()) { in GetAppId()
404 app_id += profile_id; in GetAppId()
/external/chromium_org/chrome/browser/extensions/api/serial/
Dserial_event_dispatcher.cc63 params.profile_id = profile_; in PollConnection()
136 params.profile_id, in PostEvent()
142 void SerialEventDispatcher::DispatchEvent(void* profile_id, in DispatchEvent() argument
147 Profile* profile = reinterpret_cast<Profile*>(profile_id); in DispatchEvent()
Dserial_event_dispatcher.h48 void* profile_id; member
63 static void DispatchEvent(void *profile_id,
/external/chromium_org/chrome/browser/chromeos/drive/
Ddrive_protocol_handler.cc19 DriveProtocolHandler::DriveProtocolHandler(void* profile_id) in DriveProtocolHandler() argument
20 : profile_id_(profile_id) { in DriveProtocolHandler()
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp/
Dtcp_socket_event_dispatcher.cc79 params.profile_id = profile_; in StartSocketRead()
176 params.profile_id, in PostEvent()
182 void TCPSocketEventDispatcher::DispatchEvent(void* profile_id, in DispatchEvent() argument
187 Profile* profile = reinterpret_cast<Profile*>(profile_id); in DispatchEvent()
Dtcp_socket_event_dispatcher.h57 void* profile_id; member
78 static void DispatchEvent(void* profile_id,
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp_server/
Dtcp_server_socket_event_dispatcher.cc88 params.profile_id = profile_; in StartSocketAccept()
176 params.profile_id, in PostEvent()
183 void* profile_id, in DispatchEvent() argument
188 Profile* profile = reinterpret_cast<Profile*>(profile_id); in DispatchEvent()
/external/chromium_org/chrome/browser/extensions/api/sockets_udp/
Dudp_socket_event_dispatcher.cc66 params.profile_id = profile_; in OnSocketResume()
161 params.profile_id, in PostEvent()
167 void UDPSocketEventDispatcher::DispatchEvent(void* profile_id, in DispatchEvent() argument
172 Profile* profile = reinterpret_cast<Profile*>(profile_id); in DispatchEvent()
/external/chromium_org/chrome/browser/
Dshell_integration_win.cc70 base::string16 profile_id; in GetProfileIdFromPath() local
71 profile_id.reserve(basenames.size()); in GetProfileIdFromPath()
78 profile_id += basenames[i]; in GetProfileIdFromPath()
81 return profile_id; in GetProfileIdFromPath()
340 const base::string16 profile_id(GetProfileIdFromPath(profile_path)); in GetAppModelIdForProfile() local
341 if (!profile_id.empty()) in GetAppModelIdForProfile()
342 components.push_back(profile_id); in GetAppModelIdForProfile()

123