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

Side by Side Diff: chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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 "chrome/browser/chromeos/policy/cloud_external_data_manager_base.h" 5 #include "chrome/browser/chromeos/policy/cloud_external_data_manager_base.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
13 #include "base/macros.h"
13 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/stl_util.h" 16 #include "base/stl_util.h"
16 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
17 #include "base/test/test_simple_task_runner.h" 18 #include "base/test/test_simple_task_runner.h"
18 #include "base/thread_task_runner_handle.h" 19 #include "base/thread_task_runner_handle.h"
19 #include "base/values.h" 20 #include "base/values.h"
20 #include "chrome/browser/chromeos/policy/cloud_external_data_store.h" 21 #include "chrome/browser/chromeos/policy/cloud_external_data_store.h"
21 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h" 22 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h"
22 #include "components/policy/core/common/cloud/resource_cache.h" 23 #include "components/policy/core/common/cloud/resource_cache.h"
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 crypto::SHA256HashString(k10ByteData))); 762 crypto::SHA256HashString(k10ByteData)));
762 cloud_policy_store_.NotifyStoreLoaded(); 763 cloud_policy_store_.NotifyStoreLoaded();
763 base::RunLoop().RunUntilIdle(); 764 base::RunLoop().RunUntilIdle();
764 EXPECT_EQ(1u, callback_data_.size()); 765 EXPECT_EQ(1u, callback_data_.size());
765 ASSERT_TRUE(callback_data_[1]); 766 ASSERT_TRUE(callback_data_[1]);
766 EXPECT_EQ(k10ByteData, *callback_data_[1]); 767 EXPECT_EQ(k10ByteData, *callback_data_[1]);
767 ResetCallbackData(); 768 ResetCallbackData();
768 } 769 }
769 770
770 } // namespace policy 771 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698