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

Unified Diff: ash/test/test_shelf_delegate.cc

Issue 2290603002: Enhance chrome.app.window API for shelf integration with pinning support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: LauncherItemController Unit Tests Fix after Rebase Created 4 years, 3 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 71e9538f1757a9441763e6e41b6595e233803453..1e892e029c963f255f299edd34c1b78f7ea1f79f 100644
--- a/ash/test/test_shelf_delegate.cc
+++ b/ash/test/test_shelf_delegate.cc
@@ -105,6 +105,12 @@ ShelfID TestShelfDelegate::GetShelfIDForAppID(const std::string& app_id) {
return 0;
}
+ShelfID TestShelfDelegate::GetShelfIDForAppIDAndLaunchID(
+ const std::string& app_id,
+ const std::string& launch_id) {
+ return GetShelfIDForAppID(app_id);
+}
+
bool TestShelfDelegate::HasShelfIDToAppIDMapping(ShelfID id) const {
return shelf_id_to_app_id_map_.find(id) != shelf_id_to_app_id_map_.end();
}
« no previous file with comments | « ash/test/test_shelf_delegate.h ('k') | chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698