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

Unified Diff: chrome/browser/intents/device_attached_intent_source.h

Issue 10831147: Show device attach web intent picker dialog only if we have registered services. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 5 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/intents/device_attached_intent_source.h
diff --git a/chrome/browser/intents/device_attached_intent_source.h b/chrome/browser/intents/device_attached_intent_source.h
index 96fd51caa5c3a458ad63c085a42be1fb76847d3a..018c650861319205d21bd8b0bf821e253c73a977 100644
--- a/chrome/browser/intents/device_attached_intent_source.h
+++ b/chrome/browser/intents/device_attached_intent_source.h
@@ -34,6 +34,12 @@ class DeviceAttachedIntentSource
base::SystemMonitor::MediaDeviceType type,
const FilePath::StringType& location) OVERRIDE;
+ void DispatchIntentsForService(
James Hawkins 2012/08/03 17:44:59 nit: Document method.
kmadhusu 2012/08/04 01:14:47 Done.
+ const string16& action,
+ const string16& intent_type,
+ base::SystemMonitor::MediaDeviceType device_type,
+ const FilePath& device_path);
groby-ooo-7-16 2012/08/03 17:37:20 nit: Please forward-declare FilePath - IWYU
Lei Zhang 2012/08/03 21:57:17 Actually we can't because we use FilePath::StringT
kmadhusu 2012/08/04 01:14:47 Done.
+
private:
// Weak pointer to browser to which intents will be dispatched.
Browser* browser_;

Powered by Google App Engine
This is Rietveld 408576698