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

Unified Diff: chrome/browser/chromeos/login/cookie_fetcher_unittest.cc

Issue 7121014: When a user logs into sync, the appropriate cookies are retrieved so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Uploading after sync merge Created 9 years, 6 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/login/issue_response_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/cookie_fetcher_unittest.cc
===================================================================
--- chrome/browser/chromeos/login/cookie_fetcher_unittest.cc (revision 89823)
+++ chrome/browser/chromeos/login/cookie_fetcher_unittest.cc (working copy)
@@ -182,11 +182,10 @@
TEST_F(CookieFetcherTest, IssueResponseHandlerTest) {
IssueResponseHandler handler(NULL);
- std::string input("a\n");
- std::string expected(GaiaUrls::GetInstance()->token_auth_url());
- expected.append(input);
+ std::string expected(IssueResponseHandler::BuildTokenAuthUrlWithToken(
+ std::string("a\n")));
- scoped_ptr<URLFetcher> fetcher(handler.Handle(input, NULL));
+ scoped_ptr<URLFetcher> fetcher(handler.Handle(std::string("a\n"), NULL));
EXPECT_EQ(expected, handler.token_url());
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/login/issue_response_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698