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

Side by Side Diff: chromeos/dbus/fake_image_loader_client.cc

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 unified diff | Download patch
« no previous file with comments | « chromeos/dbus/fake_image_loader_client.h ('k') | chromeos/dbus/image_loader_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/dbus/fake_image_loader_client.h" 5 #include "chromeos/dbus/fake_image_loader_client.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 8
9 // ImageLoaderClient override: 9 // ImageLoaderClient override:
10 void FakeImageLoaderClient::RegisterComponent( 10 void FakeImageLoaderClient::RegisterComponent(
11 const std::string& name, 11 const std::string& name,
12 const std::string& version, 12 const std::string& version,
13 const std::string& component_folder_abs_path, 13 const std::string& component_folder_abs_path,
14 const BoolDBusMethodCallback& callback) { 14 const BoolDBusMethodCallback& callback) {
15 callback.Run(DBUS_METHOD_CALL_FAILURE, false); 15 callback.Run(DBUS_METHOD_CALL_FAILURE, false);
16 } 16 }
17 void FakeImageLoaderClient::LoadComponent(
18 const std::string& name,
19 const StringDBusMethodCallback& callback) {
20 callback.Run(DBUS_METHOD_CALL_FAILURE, "");
21 }
17 22
18 } // namespace chromeos 23 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_image_loader_client.h ('k') | chromeos/dbus/image_loader_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698