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

Unified Diff: chrome/browser/apps/app_browsertest.cc

Issue 2879673002: Restrict EventRouter::Get/Set-RegisteredEvents. (Closed)
Patch Set: address comments Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/extensions/installed_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest.cc
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc
index e258bdd349e63e79d66ec029371d8221c4a1c1e0..0f924731a094736e00f4c3cff2e8a66d2da11fe8 100644
--- a/chrome/browser/apps/app_browsertest.cc
+++ b/chrome/browser/apps/app_browsertest.cc
@@ -1037,7 +1037,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
// Clear the registered events to ensure they are updated.
extensions::EventRouter::Get(browser()->profile())
- ->SetRegisteredEvents(extension->id(), std::set<std::string>());
+ ->ClearRegisteredEventsForTest(extension->id());
DictionaryPrefUpdate update(extension_prefs->pref_service(),
extensions::pref_names::kExtensions);
« no previous file with comments | « no previous file | chrome/browser/extensions/installed_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698