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

Unified Diff: ash/test/test_shelf_delegate.cc

Issue 2341643002: Enhance chrome.app.window API for shelf integration with pinning support (cont.) (Closed)
Patch Set: Include AppLauncherId wrapper Created 4 years, 2 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: ash/test/test_shelf_delegate.cc
diff --git a/ash/test/test_shelf_delegate.cc b/ash/test/test_shelf_delegate.cc
index 068e44c32cf5373c4c0ae43229cf3d27f0d8a84a..576b656b710c3bd8b2142dc92c061ee9b98328c3 100644
--- a/ash/test/test_shelf_delegate.cc
+++ b/ash/test/test_shelf_delegate.cc
@@ -112,6 +112,11 @@ const std::string& TestShelfDelegate::GetAppIDForShelfID(ShelfID id) {
return shelf_id_to_app_id_map_[id];
}
+const std::string& TestShelfDelegate::GetLaunchIDForShelfID(ShelfID id) {
+ DCHECK_GT(shelf_id_to_app_id_map_.count(id), 0u);
+ return base::EmptyString();
+}
+
void TestShelfDelegate::PinAppWithID(const std::string& app_id) {
pinned_apps_.insert(app_id);
}

Powered by Google App Engine
This is Rietveld 408576698