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

Unified Diff: chrome/browser/extensions/api/idle/idle_api_unittest.cc

Issue 411733002: WIP: diff which plumbs through the event URL. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/api/signed_in_devices/signed_in_devices_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/idle/idle_api_unittest.cc
diff --git a/chrome/browser/extensions/api/idle/idle_api_unittest.cc b/chrome/browser/extensions/api/idle/idle_api_unittest.cc
index cb49004947921d5c76be6ef84704da2131daaaaa..82779fe70b7cea7cb2ce85d9842b0eaf34652643 100644
--- a/chrome/browser/extensions/api/idle/idle_api_unittest.cc
+++ b/chrome/browser/extensions/api/idle/idle_api_unittest.cc
@@ -107,16 +107,14 @@ ScopedListen::ScopedListen(IdleManager* idle_manager,
const std::string& extension_id)
: idle_manager_(idle_manager),
extension_id_(extension_id) {
- const EventListenerInfo details(idle::OnStateChanged::kEventName,
- extension_id_,
- NULL);
+ const EventListenerInfo details(
+ idle::OnStateChanged::kEventName, extension_id_, GURL(), NULL);
idle_manager_->OnListenerAdded(details);
}
ScopedListen::~ScopedListen() {
- const EventListenerInfo details(idle::OnStateChanged::kEventName,
- extension_id_,
- NULL);
+ const EventListenerInfo details(
+ idle::OnStateChanged::kEventName, extension_id_, GURL(), NULL);
idle_manager_->OnListenerRemoved(details);
}
« no previous file with comments | « no previous file | chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698