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

Unified Diff: chrome/browser/extensions/menu_manager.h

Issue 11226037: Incognito-allowed package apps produce duplicate items in context menu (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: unittest added Created 8 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: chrome/browser/extensions/menu_manager.h
diff --git a/chrome/browser/extensions/menu_manager.h b/chrome/browser/extensions/menu_manager.h
index 035a16d8d23b562169a315da1018b778ed85ef31..d9d14b65c917e0ad0b361c02bc7c125827592fd8 100644
--- a/chrome/browser/extensions/menu_manager.h
+++ b/chrome/browser/extensions/menu_manager.h
@@ -315,6 +315,9 @@ class MenuManager : public content::NotificationObserver,
void ReadFromStorage(const std::string& extension_id,
scoped_ptr<base::Value> value);
+ // Removes all "incognito" "split" mode context items.
+ void RemoveAllIncognitoContextItems();
+
private:
FRIEND_TEST_ALL_PREFIXES(MenuManagerTest, DeleteParent);
FRIEND_TEST_ALL_PREFIXES(MenuManagerTest, RemoveOneByOne);
« no previous file with comments | « no previous file | chrome/browser/extensions/menu_manager.cc » ('j') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698