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

Side by Side Diff: chrome/browser/policy/user_cloud_policy_manager_chromeos.cc

Issue 11444029: Added UserPolicySigninService::FetchPolicyForSignedInUser(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback Created 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/policy/user_cloud_policy_manager_chromeos.h" 5 #include "chrome/browser/policy/user_cloud_policy_manager_chromeos.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "chrome/browser/policy/cloud_policy_service.h" 9 #include "chrome/browser/policy/cloud_policy_service.h"
10 #include "chrome/common/pref_names.h" 10 #include "chrome/common/pref_names.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 110 }
111 } 111 }
112 } 112 }
113 113
114 void UserCloudPolicyManagerChromeOS::OnClientError( 114 void UserCloudPolicyManagerChromeOS::OnClientError(
115 CloudPolicyClient* cloud_policy_client) { 115 CloudPolicyClient* cloud_policy_client) {
116 DCHECK_EQ(client(), cloud_policy_client); 116 DCHECK_EQ(client(), cloud_policy_client);
117 CancelWaitForPolicyFetch(); 117 CancelWaitForPolicyFetch();
118 } 118 }
119 119
120 void UserCloudPolicyManagerChromeOS::OnInitialPolicyFetchComplete() { 120 void UserCloudPolicyManagerChromeOS::OnInitialPolicyFetchComplete(
121 bool success) {
121 CancelWaitForPolicyFetch(); 122 CancelWaitForPolicyFetch();
122 } 123 }
123 124
124 } // namespace policy 125 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/user_cloud_policy_manager_chromeos.h ('k') | chrome/browser/policy/user_policy_signin_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698