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

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

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/user_cloud_policy_store_chromeos.h" 5 #include "chrome/browser/policy/user_cloud_policy_store_chromeos.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
11 #include "chrome/browser/chromeos/login/mock_user_manager.h" 11 #include "chrome/browser/chromeos/login/mock_user_manager.h"
12 #include "chrome/browser/policy/cloud_policy_constants.h" 12 #include "chrome/browser/policy/cloud_policy_constants.h"
13 #include "chrome/browser/policy/proto/cloud_policy.pb.h" 13 #include "chrome/browser/policy/proto/cloud_policy.pb.h"
14 #include "chrome/browser/policy/proto/device_management_local.pb.h" 14 #include "chrome/browser/policy/proto/device_management_local.pb.h"
15 #include "chromeos/dbus/mock_session_manager_client.h" 15 #include "chromeos/dbus/mock_session_manager_client.h"
16 #include "content/test/test_browser_thread.h" 16 #include "content/public/test/test_browser_thread.h"
17 #include "policy/policy_constants.h" 17 #include "policy/policy_constants.h"
18 18
19 namespace em = enterprise_management; 19 namespace em = enterprise_management;
20 20
21 using testing::AllOf; 21 using testing::AllOf;
22 using testing::Eq; 22 using testing::Eq;
23 using testing::Property; 23 using testing::Property;
24 using testing::Return; 24 using testing::Return;
25 using testing::SaveArg; 25 using testing::SaveArg;
26 using testing::_; 26 using testing::_;
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 } 507 }
508 508
509 INSTANTIATE_TEST_CASE_P( 509 INSTANTIATE_TEST_CASE_P(
510 UserCloudPolicyStoreChromeOSPolicyErrorTest, 510 UserCloudPolicyStoreChromeOSPolicyErrorTest,
511 UserCloudPolicyStoreChromeOSPolicyErrorTest, 511 UserCloudPolicyStoreChromeOSPolicyErrorTest,
512 testing::ValuesIn(kPolicyErrorTestCases)); 512 testing::ValuesIn(kPolicyErrorTestCases));
513 513
514 } // namespace 514 } // namespace
515 515
516 } // namespace policy 516 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/url_blacklist_manager_unittest.cc ('k') | chrome/browser/policy/user_policy_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698