Chromium Code Reviews| Index: chrome/browser/signin/signin_header_helper.cc |
| diff --git a/chrome/browser/signin/signin_header_helper.cc b/chrome/browser/signin/signin_header_helper.cc |
| index be6bcf41b65f59f22838ad9b34c788c346d3ca91..54696996ce818f25e71960cf629552de0a6a5fb3 100644 |
| --- a/chrome/browser/signin/signin_header_helper.cc |
| +++ b/chrome/browser/signin/signin_header_helper.cc |
| @@ -16,6 +16,10 @@ |
| #include "net/http/http_response_headers.h" |
| #include "net/url_request/url_request.h" |
| +#if defined(OS_ANDROID) |
| +#include "chrome/browser/android/signin/account_management_screen_helper.h" |
| +#endif // defined(OS_ANDROID) |
| + |
| namespace { |
| const char kChromeConnectedHeader[] = "X-Chrome-Connected"; |
| @@ -36,6 +40,8 @@ void ShowAvatarBubbleUIThread(int child_id, int route_id) { |
| if (browser) |
| browser->window()->ShowAvatarBubbleFromAvatarButton(); |
| // TODO(guohui): need to handle the case when avatar button is not available. |
| +#else // defined(OS_ANDROID) |
| + AccountManagementScreenHelper::OpenAccountManagementScreen(); |
|
Andrew T Wilson (Slow)
2014/01/16 10:00:45
Seems like a better way to do this is to define Si
aruslan
2014/01/16 15:26:13
I have contemplated converting the code in this fi
guohui
2014/01/16 19:11:01
I don't have a strong preference myself, it really
aruslan
2014/01/16 19:24:57
Currently that "dozen lines" of Android-specific c
guohui
2014/01/16 19:48:37
if you are confident that this single line is the
|
| #endif // OS_ANDROID |
| } |