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

Unified Diff: impl/dummy/dummy.go

Issue 1493183003: Fix User API (CurrentOAuth) (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 5 years 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 | impl/prod/user.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/dummy/dummy.go
diff --git a/impl/dummy/dummy.go b/impl/dummy/dummy.go
index defd0015e97734a071d0e891a98899445f9feb3f..3fdec2f5fa73ee538b1742f2fd644a594653789c 100644
--- a/impl/dummy/dummy.go
+++ b/impl/dummy/dummy.go
@@ -168,7 +168,7 @@ func Info() info.Interface { return dummyInfoInst }
type u struct{}
func (u) Current() *user.User { panic(ni()) }
-func (u) CurrentOAuth() (*user.User, error) { panic(ni()) }
+func (u) CurrentOAuth(...string) (*user.User, error) { panic(ni()) }
func (u) IsAdmin() bool { panic(ni()) }
func (u) LoginURL(string) (string, error) { panic(ni()) }
func (u) LoginURLFederated(string, string) (string, error) { panic(ni()) }
« no previous file with comments | « no previous file | impl/prod/user.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698