Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: chrome/browser/chromeos/policy/login_profile_policy_provider.h

Issue 99333002: Revert of Move ConfigurationPolicyProvider, etc. to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_PROFILE_POLICY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_PROFILE_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_PROFILE_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_PROFILE_POLICY_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "chrome/browser/policy/configuration_policy_provider.h"
11 #include "chrome/browser/policy/policy_service.h" 12 #include "chrome/browser/policy/policy_service.h"
12 #include "components/policy/core/common/configuration_policy_provider.h"
13 13
14 namespace policy { 14 namespace policy {
15 15
16 // Policy provider for the login profile. Since the login profile is not 16 // Policy provider for the login profile. Since the login profile is not
17 // associated with any user, it does not receive regular user policy. However, 17 // associated with any user, it does not receive regular user policy. However,
18 // several device policies that control features on the login screen surface as 18 // several device policies that control features on the login screen surface as
19 // user policies in the login profile. 19 // user policies in the login profile.
20 class LoginProfilePolicyProvider : public ConfigurationPolicyProvider, 20 class LoginProfilePolicyProvider : public ConfigurationPolicyProvider,
21 public PolicyService::Observer { 21 public PolicyService::Observer {
22 public: 22 public:
(...skipping 21 matching lines...) Expand all
44 bool waiting_for_device_policy_refresh_; 44 bool waiting_for_device_policy_refresh_;
45 45
46 base::WeakPtrFactory<LoginProfilePolicyProvider> weak_factory_; 46 base::WeakPtrFactory<LoginProfilePolicyProvider> weak_factory_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(LoginProfilePolicyProvider); 48 DISALLOW_COPY_AND_ASSIGN(LoginProfilePolicyProvider);
49 }; 49 };
50 50
51 } // namespace policy 51 } // namespace policy
52 52
53 #endif // CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_PROFILE_POLICY_PROVIDER_H_ 53 #endif // CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_PROFILE_POLICY_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698