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

Side by Side Diff: components/policy/core/browser/policy_error_map.cc

Issue 1543423002: Switch to standard integer types in components/policy/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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
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 #include "components/policy/core/browser/policy_error_map.h" 5 #include "components/policy/core/browser/policy_error_map.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/macros.h"
9 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "grit/components_strings.h" 13 #include "grit/components_strings.h"
13 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
15 16
16 namespace policy { 17 namespace policy {
17 18
18 class PolicyErrorMap::PendingError { 19 class PolicyErrorMap::PendingError {
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 230
230 void PolicyErrorMap::CheckReadyAndConvert() { 231 void PolicyErrorMap::CheckReadyAndConvert() {
231 DCHECK(IsReady()); 232 DCHECK(IsReady());
232 for (size_t i = 0; i < pending_.size(); ++i) { 233 for (size_t i = 0; i < pending_.size(); ++i) {
233 Convert(pending_[i]); 234 Convert(pending_[i]);
234 } 235 }
235 pending_.clear(); 236 pending_.clear();
236 } 237 }
237 238
238 } // namespace policy 239 } // namespace policy
OLDNEW
« no previous file with comments | « components/policy/core/browser/policy_error_map.h ('k') | components/policy/core/browser/proxy_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698