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

Unified Diff: chrome/browser/local_discovery/privet_url_fetcher_unittest.cc

Issue 878463002: Fixed Privet v3 auth header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patches
Patch Set: Mon 01/26/2015 12:51:10.46 Created 5 years, 11 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
Index: chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc b/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
index 5d07b8a4d53fa80776769f7a95f6eb87847a5c6b..2b1dacaa65e098e8d03e9ed37a9e6688c7652203 100644
--- a/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
+++ b/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
@@ -311,7 +311,8 @@ TEST_F(PrivetURLFetcherTest, V3Mode) {
std::string header_token;
ASSERT_FALSE(headers.GetHeader("X-Privet-Token", &header_token));
- ASSERT_TRUE(headers.GetHeader("X-Privet-Auth", &header_token));
+ ASSERT_FALSE(headers.GetHeader("X-Privet-Auth", &header_token));
+ ASSERT_TRUE(headers.GetHeader("Authorization", &header_token));
ASSERT_EQ("MyAuthToken", header_token);
}
« no previous file with comments | « chrome/browser/local_discovery/privet_url_fetcher.cc ('k') | chrome/browser/local_discovery/privetv3_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698