Chromium Code Reviews| Index: chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
| diff --git a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
| index 2abe52aac1757bcaa74dbb4c05c663f0cddb3c9e..f9dc6134d1baf5f1b192fa7e658934d8aff314d9 100644 |
| --- a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
| +++ b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
| @@ -33,8 +33,9 @@ bool AreAllSessionMergedAlready(); |
| void BlockProfile(Profile* profile); |
| void UnblockProfile(Profile* profile); |
| -// Whether requests from |web_contents| should currently be delayed. This |
| -// should be called on the UI thread. |
| +// Whether requests from |web_contents| or |profile| should currently be |
| +// delayed. This should be called on the UI thread. |
| +bool ShouldDelayRequest(Profile* profile); |
|
piman
2016/04/22 00:53:20
nit: avoid overloading. Maybe use ShouldDelayReque
afakhry
2016/04/22 02:27:44
Done.
|
| bool ShouldDelayRequest(content::WebContents* web_contents); |
| // True if the load of |url| should be delayed. The function is safe to be |