OLD | NEW |
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/extensions/api/storage/managed_value_store_cache.h" | 5 #include "chrome/browser/extensions/api/storage/managed_value_store_cache.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/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "chrome/browser/policy/profile_policy_connector.h" | 22 #include "chrome/browser/policy/profile_policy_connector.h" |
23 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 23 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
24 #include "chrome/browser/profiles/profile.h" | 24 #include "chrome/browser/profiles/profile.h" |
25 #include "chrome/browser/value_store/value_store_change.h" | 25 #include "chrome/browser/value_store/value_store_change.h" |
26 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
" | 26 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
" |
27 #include "chrome/common/extensions/extension.h" | 27 #include "chrome/common/extensions/extension.h" |
28 #include "chrome/common/extensions/extension_manifest_constants.h" | 28 #include "chrome/common/extensions/extension_manifest_constants.h" |
29 #include "chrome/common/extensions/extension_set.h" | 29 #include "chrome/common/extensions/extension_set.h" |
30 #include "chrome/common/extensions/manifest.h" | 30 #include "chrome/common/extensions/manifest.h" |
31 #include "chrome/common/extensions/permissions/api_permission.h" | 31 #include "chrome/common/extensions/permissions/api_permission.h" |
32 #include "chrome/common/policy/policy_schema.h" | 32 #include "components/policy/core/common/policy_schema.h" |
33 #include "content/public/browser/browser_thread.h" | 33 #include "content/public/browser/browser_thread.h" |
34 #include "content/public/browser/notification_observer.h" | 34 #include "content/public/browser/notification_observer.h" |
35 #include "content/public/browser/notification_registrar.h" | 35 #include "content/public/browser/notification_registrar.h" |
36 #include "content/public/browser/notification_source.h" | 36 #include "content/public/browser/notification_source.h" |
37 | 37 |
38 using content::BrowserThread; | 38 using content::BrowserThread; |
39 | 39 |
40 namespace extensions { | 40 namespace extensions { |
41 | 41 |
42 namespace { | 42 namespace { |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 continuation.Run(); | 402 continuation.Run(); |
403 } | 403 } |
404 | 404 |
405 policy::PolicyService* ManagedValueStoreCache::GetPolicyService() { | 405 policy::PolicyService* ManagedValueStoreCache::GetPolicyService() { |
406 policy::ProfilePolicyConnector* connector = | 406 policy::ProfilePolicyConnector* connector = |
407 policy::ProfilePolicyConnectorFactory::GetForProfile(profile_); | 407 policy::ProfilePolicyConnectorFactory::GetForProfile(profile_); |
408 return connector->policy_service(); | 408 return connector->policy_service(); |
409 } | 409 } |
410 | 410 |
411 } // namespace extensions | 411 } // namespace extensions |
OLD | NEW |