| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_DELEGATE_H_ | |
| 7 | |
| 8 // A delegate interface that needs to be supplied to SigninManager by | |
| 9 // the embedder. | |
| 10 class SigninManagerDelegate { | |
| 11 public: | |
| 12 virtual ~SigninManagerDelegate() {} | |
| 13 | |
| 14 // Returns true if the cookie policy for the execution context of | |
| 15 // the SigninManager allows cookies for the Google signin domain. | |
| 16 virtual bool AreSigninCookiesAllowed() = 0; | |
| 17 }; | |
| 18 | |
| 19 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_DELEGATE_H_ | |
| OLD | NEW |