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

Side by Side Diff: components/policy/core/common/policy_test_utils.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/common/policy_test_utils.h" 5 #include "components/policy/core/common/policy_test_utils.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/json/json_writer.h" 12 #include "base/json/json_writer.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/strings/sys_string_conversions.h" 14 #include "base/strings/sys_string_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "build/build_config.h"
16 #include "components/policy/core/common/policy_bundle.h" 17 #include "components/policy/core/common/policy_bundle.h"
17 18
18 #if defined(OS_IOS) || defined(OS_MACOSX) 19 #if defined(OS_IOS) || defined(OS_MACOSX)
19 #include <CoreFoundation/CoreFoundation.h> 20 #include <CoreFoundation/CoreFoundation.h>
20 21
21 #include "base/mac/scoped_cftyperef.h" 22 #include "base/mac/scoped_cftyperef.h"
22 #endif 23 #endif
23 24
24 namespace policy { 25 namespace policy {
25 26
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 << " \"scope\": " << e.scope << "," << std::endl 230 << " \"scope\": " << e.scope << "," << std::endl
230 << " \"value\": " << value 231 << " \"value\": " << value
231 << "}"; 232 << "}";
232 return os; 233 return os;
233 } 234 }
234 235
235 std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns) { 236 std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns) {
236 os << ns.domain << "/" << ns.component_id; 237 os << ns.domain << "/" << ns.component_id;
237 return os; 238 return os;
238 } 239 }
OLDNEW
« no previous file with comments | « components/policy/core/common/policy_test_utils.h ('k') | components/policy/core/common/preferences_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698