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

Side by Side Diff: components/policy/core/common/cloud/resource_cache_unittest.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/cloud/resource_cache.h" 5 #include "components/policy/core/common/cloud/resource_cache.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/bind.h" 7 #include "base/bind.h"
9 #include "base/callback.h" 8 #include "base/callback.h"
10 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
11 #include "base/test/test_simple_task_runner.h" 10 #include "base/test/test_simple_task_runner.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 12
14 namespace policy { 13 namespace policy {
15 14
16 namespace { 15 namespace {
17 16
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 EXPECT_EQ(kData0, contents[kSubC]); 147 EXPECT_EQ(kData0, contents[kSubC]);
149 148
150 // Other keys weren't affected. 149 // Other keys weren't affected.
151 cache.LoadAllSubkeys(kKey2, &contents); 150 cache.LoadAllSubkeys(kKey2, &contents);
152 EXPECT_EQ(2u, contents.size()); 151 EXPECT_EQ(2u, contents.size());
153 cache.LoadAllSubkeys(kKey3, &contents); 152 cache.LoadAllSubkeys(kKey3, &contents);
154 EXPECT_EQ(2u, contents.size()); 153 EXPECT_EQ(2u, contents.size());
155 } 154 }
156 155
157 } // namespace policy 156 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698