OLD | NEW |
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/chromeos/login/oauth2_policy_fetcher.h" | 5 #include "chrome/browser/chromeos/login/oauth2_policy_fetcher.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 browser_policy_connector->GetUserCloudPolicyManager(); | 146 browser_policy_connector->GetUserCloudPolicyManager(); |
147 if (cloud_policy_manager) { | 147 if (cloud_policy_manager) { |
148 if (token.empty()) | 148 if (token.empty()) |
149 cloud_policy_manager->CancelWaitForPolicyFetch(); | 149 cloud_policy_manager->CancelWaitForPolicyFetch(); |
150 else | 150 else |
151 cloud_policy_manager->RegisterClient(token); | 151 cloud_policy_manager->RegisterClient(token); |
152 } | 152 } |
153 } | 153 } |
154 | 154 |
155 } // namespace chromeos | 155 } // namespace chromeos |
OLD | NEW |