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

Side by Side Diff: chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years 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/cloud/user_cloud_policy_store.h" 5 #include "chrome/browser/policy/cloud/user_cloud_policy_store.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "chrome/browser/policy/cloud/mock_cloud_external_data_manager.h" 12 #include "components/policy/core/common/cloud/mock_cloud_external_data_manager.h "
13 #include "chrome/browser/policy/cloud/mock_cloud_policy_store.h" 13 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h"
14 #include "chrome/browser/policy/cloud/policy_builder.h" 14 #include "components/policy/core/common/cloud/policy_builder.h"
15 #include "net/url_request/url_request_context_getter.h" 15 #include "net/url_request/url_request_context_getter.h"
16 #include "policy/policy_constants.h" 16 #include "policy/policy_constants.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using testing::AllOf; 20 using testing::AllOf;
21 using testing::Eq; 21 using testing::Eq;
22 using testing::Mock; 22 using testing::Mock;
23 using testing::Property; 23 using testing::Property;
24 using testing::Sequence; 24 using testing::Sequence;
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 store4->Load(); 358 store4->Load();
359 RunUntilIdle(); 359 RunUntilIdle();
360 360
361 ASSERT_FALSE(store4->policy()); 361 ASSERT_FALSE(store4->policy());
362 store4->RemoveObserver(&observer_); 362 store4->RemoveObserver(&observer_);
363 } 363 }
364 364
365 } // namespace 365 } // namespace
366 366
367 } // namespace policy 367 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/user_cloud_policy_store_base.cc ('k') | chrome/browser/policy/cloud/user_info_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698