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

Unified Diff: chromeos/dbus/image_loader_client.h

Issue 2731253003: Add LoadComponent API in ImageLoader dbus adapter. (Closed)
Patch Set: Add LoadComponent API in ImageLoader dbus adapter. Created 3 years, 9 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
« no previous file with comments | « chromeos/dbus/fake_image_loader_client.cc ('k') | chromeos/dbus/image_loader_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/image_loader_client.h
diff --git a/chromeos/dbus/image_loader_client.h b/chromeos/dbus/image_loader_client.h
index f5dcd5843600f1353d94da94cd2fca31644b3431..d7d889a443e994bc4007008d0dce319d8d5242c2 100644
--- a/chromeos/dbus/image_loader_client.h
+++ b/chromeos/dbus/image_loader_client.h
@@ -28,6 +28,11 @@ class CHROMEOS_EXPORT ImageLoaderClient : public DBusClient {
const std::string& component_folder_abs_path,
const BoolDBusMethodCallback& callback) = 0;
+ // Mount a component given the |name| and return the mount point (if call is
+ // successful).
+ virtual void LoadComponent(const std::string& name,
+ const StringDBusMethodCallback& callback) = 0;
+
// Factory function, creates a new instance and returns ownership.
// For normal usage, access the singleton via DBusThreadManager::Get().
static ImageLoaderClient* Create();
« no previous file with comments | « chromeos/dbus/fake_image_loader_client.cc ('k') | chromeos/dbus/image_loader_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698