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

Side by Side Diff: android_webview/browser/aw_browser_policy_connector.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, 3 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
« no previous file with comments | « android_webview/browser/DEPS ('k') | chrome/app/DEPS » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "android_webview/browser/aw_browser_policy_connector.h" 5 #include "android_webview/browser/aw_browser_policy_connector.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "components/policy/core/browser/android/android_combined_policy_provide r.h" 10 #include "components/policy/core/browser/android/android_combined_policy_provide r.h"
11 #include "components/policy/core/browser/configuration_policy_handler_list.h" 11 #include "components/policy/core/browser/configuration_policy_handler_list.h"
12 #include "components/policy/core/browser/url_blacklist_policy_handler.h" 12 #include "components/policy/core/browser/url_blacklist_policy_handler.h"
13 #include "components/policy/core/common/policy_pref_names.h" 13 #include "components/policy/core/common/policy_pref_names.h"
14 #include "components/policy/policy_constants.h"
14 #include "net/url_request/url_request_context_getter.h" 15 #include "net/url_request/url_request_context_getter.h"
15 #include "policy/policy_constants.h"
16 16
17 namespace android_webview { 17 namespace android_webview {
18 18
19 namespace { 19 namespace {
20 20
21 // Callback only used in ChromeOS. No-op here. 21 // Callback only used in ChromeOS. No-op here.
22 void PopulatePolicyHandlerParameters( 22 void PopulatePolicyHandlerParameters(
23 policy::PolicyHandlerParameters* parameters) {} 23 policy::PolicyHandlerParameters* parameters) {}
24 24
25 // Used to check if a policy is deprecated. Currently bypasses that check. 25 // Used to check if a policy is deprecated. Currently bypasses that check.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 AwBrowserPolicyConnector::AwBrowserPolicyConnector() 64 AwBrowserPolicyConnector::AwBrowserPolicyConnector()
65 : BrowserPolicyConnectorBase(base::Bind(&BuildHandlerList)) { 65 : BrowserPolicyConnectorBase(base::Bind(&BuildHandlerList)) {
66 SetPlatformPolicyProvider(base::WrapUnique( 66 SetPlatformPolicyProvider(base::WrapUnique(
67 new policy::android::AndroidCombinedPolicyProvider(GetSchemaRegistry()))); 67 new policy::android::AndroidCombinedPolicyProvider(GetSchemaRegistry())));
68 InitPolicyProviders(); 68 InitPolicyProviders();
69 } 69 }
70 70
71 AwBrowserPolicyConnector::~AwBrowserPolicyConnector() {} 71 AwBrowserPolicyConnector::~AwBrowserPolicyConnector() {}
72 72
73 } // namespace android_webview 73 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/DEPS ('k') | chrome/app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698