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

Unified Diff: chrome/browser/chromeos/file_system_provider/service.h

Issue 1137383002: Show the eject button only for removabled and file handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments + fixed tests. Created 5 years, 7 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/chromeos/file_system_provider/service.h
diff --git a/chrome/browser/chromeos/file_system_provider/service.h b/chrome/browser/chromeos/file_system_provider/service.h
index 54d6bf30bb1bd8e7433c10bac5bf6bd2fa81b912..c49471120d0a06ce1560c7a4e043b37b7b79cae8 100644
--- a/chrome/browser/chromeos/file_system_provider/service.h
+++ b/chrome/browser/chromeos/file_system_provider/service.h
@@ -133,6 +133,12 @@ class Service : public KeyedService,
// extensions.
std::vector<ProvidingExtensionInfo> GetProvidingExtensionInfoList() const;
+ // Fills information of the specified providing extension and returns true.
+ // If the extension is not a provider, or it doesn't exist, then NULL is
hirono 2015/05/15 08:27:45 nit: NULL is returned -> false is returned.
mtomasz 2015/05/15 09:32:37 Done.
+ // returned.
+ bool GetProvidingExtensionInfo(const std::string& extension_id,
+ ProvidingExtensionInfo* result) const;
+
// Adds and removes observers.
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);

Powered by Google App Engine
This is Rietveld 408576698