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

Unified Diff: chrome/browser/extensions/app_notify_channel_setup_unittest.cc

Issue 8727024: Save the oauth client id used in App Notification setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 9 years, 1 month 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 | « chrome/browser/extensions/app_notify_channel_setup.cc ('k') | chrome/browser/extensions/extension_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_setup.cc ('k') | chrome/browser/extensions/extension_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698