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

Unified Diff: chrome/browser/signin/chrome_signin_helper.h

Issue 2918403009: [Dice] Parse the Dice response header (Closed)
Patch Set: rebase Created 3 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
Index: chrome/browser/signin/chrome_signin_helper.h
diff --git a/chrome/browser/signin/chrome_signin_helper.h b/chrome/browser/signin/chrome_signin_helper.h
index 848f289dc9cace17e562ac5323c3325bf03583cc..e34c1e05afda2f52ae7644e5dd048fc66237f8c2 100644
--- a/chrome/browser/signin/chrome_signin_helper.h
+++ b/chrome/browser/signin/chrome_signin_helper.h
@@ -7,6 +7,8 @@
#include <string>
+#include "build/build_config.h"
+
namespace net {
class URLRequest;
}
@@ -39,6 +41,13 @@ void ProcessMirrorResponseHeaderIfExists(net::URLRequest* request,
int child_id,
int route_id);
+#if !defined(OS_IOS) && !defined(OS_ANDROID)
+// Looks for the X-Chrome-ID-Consistency-Response response header, and if found,
+// fetches a OAuth2 token. Must be called on IO thread.
+void ProcessDiceResponseHeaderIfExists(net::URLRequest* request,
+ ProfileIOData* io_data);
+#endif
+
}; // namespace signin
#endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698