| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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 COMPONENTS_SIGNIN_CORE_SIGNIN_MANAGER_DELEGATE_H_ | |
| 6 #define COMPONENTS_SIGNIN_CORE_SIGNIN_MANAGER_DELEGATE_H_ | |
| 7 | |
| 8 // A delegate interface that needs to be supplied to the Signin component by | |
| 9 // its 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 // COMPONENTS_SIGNIN_CORE_SIGNIN_MANAGER_DELEGATE_H_ | |
| OLD | NEW |