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

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

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 4 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 <memory> 5 #include <memory>
6 #include <string> 6 #include <string>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/policy/profile_policy_connector.h" 21 #include "chrome/browser/policy/profile_policy_connector.h"
22 #include "chrome/browser/policy/profile_policy_connector_factory.h" 22 #include "chrome/browser/policy/profile_policy_connector_factory.h"
23 #include "chrome/browser/profiles/profile.h" 23 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/ui/browser.h" 24 #include "chrome/browser/ui/browser.h"
25 #include "chrome/common/chrome_paths.h" 25 #include "chrome/common/chrome_paths.h"
26 #include "chrome/test/base/in_process_browser_test.h" 26 #include "chrome/test/base/in_process_browser_test.h"
27 #include "components/policy/core/common/cloud/cloud_policy_core.h" 27 #include "components/policy/core/common/cloud/cloud_policy_core.h"
28 #include "components/policy/core/common/external_data_fetcher.h" 28 #include "components/policy/core/common/external_data_fetcher.h"
29 #include "components/policy/core/common/policy_map.h" 29 #include "components/policy/core/common/policy_map.h"
30 #include "components/policy/core/common/policy_service.h" 30 #include "components/policy/core/common/policy_service.h"
31 #include "components/policy/policy_constants.h"
31 #include "content/public/test/test_utils.h" 32 #include "content/public/test/test_utils.h"
32 #include "net/test/embedded_test_server/embedded_test_server.h" 33 #include "net/test/embedded_test_server/embedded_test_server.h"
33 #include "policy/policy_constants.h"
34 #include "testing/gtest/include/gtest/gtest.h" 34 #include "testing/gtest/include/gtest/gtest.h"
35 #include "url/gurl.h" 35 #include "url/gurl.h"
36 36
37 namespace policy { 37 namespace policy {
38 38
39 namespace { 39 namespace {
40 40
41 const char kExternalDataPath[] = "policy/blank.html"; 41 const char kExternalDataPath[] = "policy/blank.html";
42 42
43 } // namespace 43 } // namespace
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 &test::ExternalDataFetchCallback, 93 &test::ExternalDataFetchCallback,
94 &fetched_external_data, 94 &fetched_external_data,
95 run_loop.QuitClosure())); 95 run_loop.QuitClosure()));
96 run_loop.Run(); 96 run_loop.Run();
97 97
98 ASSERT_TRUE(fetched_external_data); 98 ASSERT_TRUE(fetched_external_data);
99 EXPECT_EQ(external_data, *fetched_external_data); 99 EXPECT_EQ(external_data, *fetched_external_data);
100 } 100 }
101 101
102 } // namespace policy 102 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/status_uploader.h ('k') | chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698