|
Make the internal storage policy::Schemas ref counted.
The policy Schemas are used to represent the expected data types of policy
values. Making their internal storage refcounted will allow passing them to background threads
that use them to validate data being loaded, while the UI thread may be
concurrently loading a new Schema for the same component.
This change makes Schema directly reference the InternalStorage struct, so that
SchemaOwner is not necessary anymore.
BUG= 270667
R=dconnelly@chromium.org, kalman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233596
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+310 lines, -290 lines) |
Patch |
|
M |
chrome/browser/extensions/api/storage/managed_value_store_cache.cc
|
View
|
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/browser_policy_connector.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud/component_cloud_policy_service_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/generate_policy_source_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_domain_descriptor.h
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_domain_descriptor.cc
|
View
|
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_domain_descriptor_unittest.cc
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_service_impl_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/schema.h
|
View
|
1
|
4 chunks |
+26 lines, -44 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/schema.cc
|
View
|
|
5 chunks |
+192 lines, -167 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/schema_unittest.cc
|
View
|
|
7 chunks |
+52 lines, -25 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|