Index: chrome/browser/extensions/app_notify_channel_setup_unittest.cc |
diff --git a/chrome/browser/extensions/app_notify_channel_setup_unittest.cc b/chrome/browser/extensions/app_notify_channel_setup_unittest.cc |
index 29c45113601d324199b2d6ccf9a8a16e1c2f12e9..0a3ff41bb36191d65446c35d4e1d8c4cdc44c229 100644 |
--- a/chrome/browser/extensions/app_notify_channel_setup_unittest.cc |
+++ b/chrome/browser/extensions/app_notify_channel_setup_unittest.cc |
@@ -71,14 +71,13 @@ class TestDelegate : public AppNotifyChannelSetup::Delegate, |
virtual void AppNotifyChannelSetupComplete( |
const std::string& channel_id, |
const std::string& error, |
- int route_id, |
- int callback_id) OVERRIDE { |
+ const AppNotifyChannelSetup* setup) OVERRIDE { |
EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
EXPECT_FALSE(was_called_); |
was_called_ = true; |
error_ = error; |
- route_id_ = route_id; |
- callback_id_ = callback_id; |
+ route_id_ = setup->return_route_id(); |
+ callback_id_ = setup->callback_id(); |
MessageLoop::current()->Quit(); |
} |