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

Side by Side Diff: chrome/browser/policy/device_policy_cache_unittest.cc

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
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/policy/device_policy_cache.h" 5 #include "chrome/browser/policy/device_policy_cache.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/threading/sequenced_worker_pool.h" 12 #include "base/threading/sequenced_worker_pool.h"
13 #include "chrome/browser/chromeos/cros/cryptohome_library.h" 13 #include "chrome/browser/chromeos/cros/cryptohome_library.h"
14 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h" 14 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h"
15 #include "chrome/browser/policy/cloud_policy_data_store.h" 15 #include "chrome/browser/policy/cloud_policy_data_store.h"
16 #include "chrome/browser/policy/enterprise_install_attributes.h" 16 #include "chrome/browser/policy/enterprise_install_attributes.h"
17 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" 17 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h"
18 #include "chrome/browser/policy/proto/device_management_backend.pb.h" 18 #include "chrome/browser/policy/proto/device_management_backend.pb.h"
19 #include "content/public/test/test_browser_thread.h"
20 #include "policy/policy_constants.h" 19 #include "policy/policy_constants.h"
21 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
22 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
23 22
24 using ::testing::Mock; 23 using ::testing::Mock;
25 24
26 namespace em = enterprise_management; 25 namespace em = enterprise_management;
27 26
28 namespace policy { 27 namespace policy {
29 28
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 227 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob());
229 Startup(); 228 Startup();
230 229
231 StringValue expected_config(fake_config); 230 StringValue expected_config(fake_config);
232 EXPECT_TRUE( 231 EXPECT_TRUE(
233 Value::Equals(&expected_config, 232 Value::Equals(&expected_config,
234 GetPolicy(key::kDeviceOpenNetworkConfiguration))); 233 GetPolicy(key::kDeviceOpenNetworkConfiguration)));
235 } 234 }
236 235
237 } // namespace policy 236 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_provider_unittest.cc ('k') | chrome/browser/predictors/predictor_database_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698