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

Side by Side Diff: chrome/browser/policy/browser_policy_connector.h

Issue 8702009: Add device status reports to policy requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some now-dead code. Created 9 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
« no previous file with comments | « chrome/browser/idle.h ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_POLICY_BROWSER_POLICY_CONNECTOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 private: 133 private:
134 // content::NotificationObserver method overrides: 134 // content::NotificationObserver method overrides:
135 virtual void Observe(int type, 135 virtual void Observe(int type,
136 const content::NotificationSource& source, 136 const content::NotificationSource& source,
137 const content::NotificationDetails& details) OVERRIDE; 137 const content::NotificationDetails& details) OVERRIDE;
138 138
139 // Initializes the device cloud policy infrasturcture. 139 // Initializes the device cloud policy infrasturcture.
140 void InitializeDevicePolicy(); 140 void InitializeDevicePolicy();
141 141
142 // Activates the device cloud policy subsystem. This will be posted as a task 142 // Complete initialization once the message loops are running and the
143 // from InitializeDevicePolicy since it needs to wait for the message loops to 143 // local_state is initialized.
144 // be running. 144 void CompleteInitialization();
145 void InitializeDevicePolicySubsystem();
146 145
147 static ConfigurationPolicyProvider* CreateManagedPlatformProvider(); 146 static ConfigurationPolicyProvider* CreateManagedPlatformProvider();
148 static ConfigurationPolicyProvider* CreateRecommendedPlatformProvider(); 147 static ConfigurationPolicyProvider* CreateRecommendedPlatformProvider();
149 148
150 scoped_ptr<ConfigurationPolicyProvider> managed_platform_provider_; 149 scoped_ptr<ConfigurationPolicyProvider> managed_platform_provider_;
151 scoped_ptr<ConfigurationPolicyProvider> recommended_platform_provider_; 150 scoped_ptr<ConfigurationPolicyProvider> recommended_platform_provider_;
152 151
153 scoped_ptr<CloudPolicyProvider> managed_cloud_provider_; 152 scoped_ptr<CloudPolicyProvider> managed_cloud_provider_;
154 scoped_ptr<CloudPolicyProvider> recommended_cloud_provider_; 153 scoped_ptr<CloudPolicyProvider> recommended_cloud_provider_;
155 154
(...skipping 22 matching lines...) Expand all
178 177
179 // Used to convert policies to preferences. 178 // Used to convert policies to preferences.
180 ConfigurationPolicyHandlerList handler_list_; 179 ConfigurationPolicyHandlerList handler_list_;
181 180
182 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector); 181 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
183 }; 182 };
184 183
185 } // namespace policy 184 } // namespace policy
186 185
187 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 186 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/idle.h ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698