Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6394)

Unified Diff: chrome/browser/ui/intents/web_intent_picker_controller.h

Issue 10854019: Make GetIntentServicesForExtensionFilter work synchronously (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make GetIntentServicesForExtensionFilter synchronous. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/intents/web_intent_picker_controller.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.h b/chrome/browser/ui/intents/web_intent_picker_controller.h
index aecca7082666cd834a3fba74531285b9bfdf30ec..6006434f216a433d24cb187256bd3e637daf1c20 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller.h
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.h
@@ -94,6 +94,9 @@ class WebIntentPickerController
friend class WebIntentPickerControllerBrowserTest;
friend class WebIntentPickerControllerIncognitoBrowserTest;
+ // Dispatches intent to a just-installed extension with ID |extension_id|.
+ void DispatchToInstalledExtension(const std::string& extension_id);
+
// Adds a service to the data model.
void AddServiceToModel(const webkit_glue::WebIntentServiceData& service);
@@ -168,12 +171,6 @@ class WebIntentPickerController
// Called when an extension's icon failed to be decoded or resized.
void OnExtensionIconUnavailable(const string16& extension_id);
- // When an extension is installed, all that is known is the extension id.
- // This callback receives the intent service data for that extension.
- // |services| must be a non-empty list.
- void OnExtensionInstallServiceAvailable(
- const std::vector<webkit_glue::WebIntentServiceData>& services);
-
// Decrements the |pending_async_count_| and notifies the picker if it
// reaches zero.
void AsyncOperationFinished();
« no previous file with comments | « chrome/browser/intents/web_intents_registry_unittest.cc ('k') | chrome/browser/ui/intents/web_intent_picker_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698