Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
|
emaxx
2016/07/26 02:55:32
nit: s/2013/2016/
Denis Kuznetsov (DE-MUC)
2016/08/29 15:14:40
Done.
I believe at some point there was (or it was
| |
| 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_CHROMEOS_EXTENSIONS_SIGNIN_SCREEN_POLICY_PROVIDER_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_SIGNIN_SCREEN_POLICY_PROVIDER_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
|
emaxx
2016/07/26 02:55:32
nit: Please fix the includes in this and other new
Denis Kuznetsov (DE-MUC)
2016/08/29 15:14:40
Done.
| |
| 9 #include "base/macros.h" | |
| 10 #include "chrome/browser/chromeos/policy/device_local_account.h" | |
| 11 #include "extensions/browser/management_policy.h" | |
| 12 | |
| 13 namespace chromeos { | |
| 14 | |
| 15 // A managed policy for apps on chromeos login screen. | |
| 16 // It ensures that only very limited set of APIs are avaliable for such apps. | |
| 17 class SigninScreenPolicyProvider | |
| 18 : public extensions::ManagementPolicy::Provider { | |
| 19 public: | |
| 20 SigninScreenPolicyProvider(); | |
| 21 ~SigninScreenPolicyProvider() override; | |
| 22 | |
| 23 // extensions::ManagementPolicy::Provider: | |
| 24 std::string GetDebugPolicyProviderName() const override; | |
| 25 bool UserMayLoad(const extensions::Extension* extension, | |
| 26 base::string16* error) const override; | |
| 27 | |
| 28 private: | |
| 29 DISALLOW_COPY_AND_ASSIGN(SigninScreenPolicyProvider); | |
| 30 }; | |
| 31 | |
| 32 } // namespace chromeos | |
| 33 | |
| 34 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_SIGNIN_SCREEN_POLICY_PROVIDER_H_ | |
| OLD | NEW |