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

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

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More IWYU, missing link-time dependency for Chrome Frame. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/json/json_value_serializer.h" 8 #include "base/json/json_value_serializer.h"
9 #include "base/message_loop.h"
9 #include "base/path_service.h" 10 #include "base/path_service.h"
10 #include "base/scoped_temp_dir.h" 11 #include "base/scoped_temp_dir.h"
11 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
12 #include "chrome/browser/policy/config_dir_policy_provider.h" 13 #include "chrome/browser/policy/config_dir_policy_provider.h"
13 #include "chrome/browser/policy/configuration_policy_pref_store.h" 14 #include "chrome/browser/policy/configuration_policy_pref_store.h"
14 #include "chrome/browser/policy/policy_map.h" 15 #include "chrome/browser/policy/policy_map.h"
15 #include "content/test/test_browser_thread.h" 16 #include "content/test/test_browser_thread.h"
16 #include "policy/policy_constants.h" 17 #include "policy/policy_constants.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 INSTANTIATE_TEST_CASE_P( 382 INSTANTIATE_TEST_CASE_P(
382 ConfigDirPolicyProviderValueTestChromeOSInstance, 383 ConfigDirPolicyProviderValueTestChromeOSInstance,
383 ConfigDirPolicyProviderValueTest, 384 ConfigDirPolicyProviderValueTest,
384 testing::Values( 385 testing::Values(
385 ValueTestParams::ForIntegerPolicy( 386 ValueTestParams::ForIntegerPolicy(
386 kPolicyPolicyRefreshRate, 387 kPolicyPolicyRefreshRate,
387 key::kPolicyRefreshRate))); 388 key::kPolicyRefreshRate)));
388 #endif 389 #endif
389 390
390 } // namespace policy 391 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698