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

Unified Diff: chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h

Issue 1754393002: Fix current profile is unnecessary added to "Open link as" context menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix implicit conversion of signed and unsigned integers Created 4 years, 10 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/renderer_context_menu/render_view_context_menu_test_util.h
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h b/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h
index d9490185692abf9fb71504f7b5ad6f5afe39e2cd..391f5ecbaf99fe433431476416c6dc82691ce7b1 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h
@@ -61,7 +61,8 @@ class TestRenderViewContextMenu : public RenderViewContextMenu {
ui::MenuModel** found_model,
int* found_index);
- size_t GetItemIndexByProfilePath(const base::FilePath& path);
+ // Returns the command id of the menu item with the specified |path|.
+ int GetCommandIDByProfilePath(const base::FilePath& path);
#if defined(ENABLE_EXTENSIONS)
extensions::ContextMenuMatcher& extension_items() { return extension_items_; }

Powered by Google App Engine
This is Rietveld 408576698