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

Side by Side Diff: chrome/browser/ui/webui/policy_ui.cc

Issue 78453005: Move PolicySchema and PolicySchemaRegistry to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export nested class on win Created 7 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
« no previous file with comments | « chrome/browser/policy/schema_registry_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ui/webui/policy_ui.h" 5 #include "chrome/browser/ui/webui/policy_ui.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h" 23 #include "chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h"
24 #include "chrome/browser/policy/cloud/cloud_policy_store.h" 24 #include "chrome/browser/policy/cloud/cloud_policy_store.h"
25 #include "chrome/browser/policy/cloud/cloud_policy_validator.h" 25 #include "chrome/browser/policy/cloud/cloud_policy_validator.h"
26 #include "chrome/browser/policy/cloud/message_util.h" 26 #include "chrome/browser/policy/cloud/message_util.h"
27 #include "chrome/browser/policy/configuration_policy_handler_list.h" 27 #include "chrome/browser/policy/configuration_policy_handler_list.h"
28 #include "chrome/browser/policy/policy_error_map.h" 28 #include "chrome/browser/policy/policy_error_map.h"
29 #include "chrome/browser/policy/policy_service.h" 29 #include "chrome/browser/policy/policy_service.h"
30 #include "chrome/browser/policy/profile_policy_connector.h" 30 #include "chrome/browser/policy/profile_policy_connector.h"
31 #include "chrome/browser/policy/profile_policy_connector_factory.h" 31 #include "chrome/browser/policy/profile_policy_connector_factory.h"
32 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" 32 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
33 #include "chrome/browser/policy/schema_map.h"
34 #include "chrome/browser/policy/schema_registry.h"
35 #include "chrome/browser/policy/schema_registry_service.h" 33 #include "chrome/browser/policy/schema_registry_service.h"
36 #include "chrome/browser/policy/schema_registry_service_factory.h" 34 #include "chrome/browser/policy/schema_registry_service_factory.h"
37 #include "chrome/browser/profiles/profile.h" 35 #include "chrome/browser/profiles/profile.h"
38 #include "chrome/common/url_constants.h" 36 #include "chrome/common/url_constants.h"
39 #include "components/policy/core/common/policy_map.h" 37 #include "components/policy/core/common/policy_map.h"
40 #include "components/policy/core/common/policy_namespace.h" 38 #include "components/policy/core/common/policy_namespace.h"
41 #include "components/policy/core/common/policy_types.h" 39 #include "components/policy/core/common/policy_types.h"
42 #include "components/policy/core/common/schema.h" 40 #include "components/policy/core/common/schema.h"
41 #include "components/policy/core/common/schema_map.h"
42 #include "components/policy/core/common/schema_registry.h"
43 #include "content/public/browser/notification_observer.h" 43 #include "content/public/browser/notification_observer.h"
44 #include "content/public/browser/notification_registrar.h" 44 #include "content/public/browser/notification_registrar.h"
45 #include "content/public/browser/notification_service.h" 45 #include "content/public/browser/notification_service.h"
46 #include "content/public/browser/web_ui.h" 46 #include "content/public/browser/web_ui.h"
47 #include "content/public/browser/web_ui_data_source.h" 47 #include "content/public/browser/web_ui_data_source.h"
48 #include "content/public/browser/web_ui_message_handler.h" 48 #include "content/public/browser/web_ui_message_handler.h"
49 #include "google_apis/gaia/gaia_auth_util.h" 49 #include "google_apis/gaia/gaia_auth_util.h"
50 #include "grit/browser_resources.h" 50 #include "grit/browser_resources.h"
51 #include "grit/generated_resources.h" 51 #include "grit/generated_resources.h"
52 #include "policy/policy_constants.h" 52 #include "policy/policy_constants.h"
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 } 725 }
726 726
727 PolicyUI::PolicyUI(content::WebUI* web_ui) : WebUIController(web_ui) { 727 PolicyUI::PolicyUI(content::WebUI* web_ui) : WebUIController(web_ui) {
728 web_ui->AddMessageHandler(new PolicyUIHandler); 728 web_ui->AddMessageHandler(new PolicyUIHandler);
729 content::WebUIDataSource::Add(Profile::FromWebUI(web_ui), 729 content::WebUIDataSource::Add(Profile::FromWebUI(web_ui),
730 CreatePolicyUIHTMLSource()); 730 CreatePolicyUIHTMLSource());
731 } 731 }
732 732
733 PolicyUI::~PolicyUI() { 733 PolicyUI::~PolicyUI() {
734 } 734 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/schema_registry_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698