|
Introduce lock screen app context to extension features
The context will be used for platform apps that are runnable
on Chrome OS lock screen - the context will be derived from the
containing browser process. Apps running in sign-in profile after
the user was logged in will run in 'lock screen' script context.
Because sign-in profile is Chrome concept, unknown to extensions
layer, the information will have to be relayed to extensions system.
The script context is determined in two places:
* ScriptContextSet, which determines script context used in the render
process. The script context set will be flagged as lock screen
context during renderer initialization - it will be sent from the
browser process in SetSessionInfo IPC message.
* ProcessMap, used in browser process. ProcessMaps are created per
browser context - process maps belonging to sign-in profile will be
marked as lock screen context process map (as before that point, the
sign-in profile will be used for login)
BUG= 715781
Review-Url: https://codereview.chromium.org/2892403002
Cr-Commit-Position: refs/heads/master@{#478506}
Committed: https://chromium.googlesource.com/chromium/src/+/8e89b0b1a1bd64d016a24a182a715aeedb712469
Total comments: 3
Total comments: 9
Total comments: 8
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+273 lines, -21 lines) |
Patch |
|
M |
chrome/browser/extensions/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/chrome_extensions_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/chrome_extensions_browser_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_service.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/_features.md
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/chrome_extensions_renderer_client.cc
|
View
|
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/extensions_browser_client.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/info_map.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/info_map.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/process_map.h
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/process_map.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
extensions/browser/process_map_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+101 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/renderer_startup_helper.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
extensions/browser/test_extensions_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/test_extensions_browser_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/common/extension_messages.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
extensions/common/features/feature.h
|
View
|
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/common/features/simple_feature.cc
|
View
|
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/common/features/simple_feature_unittest.cc
|
View
|
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/dispatcher.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
extensions/renderer/dispatcher.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
extensions/renderer/js_extension_bindings_system.cc
|
View
|
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/script_context.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/script_context_set.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
extensions/renderer/script_context_set.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
extensions/shell/browser/shell_extensions_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/shell/browser/shell_extensions_browser_client.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/feature_compiler.py
|
View
|
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/feature_compiler_test.py
|
View
|
2
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/features_generation_unittest.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 62 (36 generated)
|