|
Fix build when ENABLE_MANAGED_USERS is not defined
This commit resolves build errors that occur when ENABLE_MANAGED_USERS is not
defined:
1. Managed/supervised code for various components are now conditionally
excluded in gyp files.
2. Added #ifdef guards in source files that include files in the
chrome/browser/supervised_user folder.
3. Add missing include to supervised_users.h in files in the
supervised_user folder to force compiler errors when not guarded properly.
4. Added an include in create_profile_handler.cc to web_ui.h, since it is
indirectly included by the supervised_user* .h files.
BUG= 389611
Committed: https://crrev.com/a1a18dc36d89030a8fb6c514fcdf3c7a0153ee07
Cr-Commit-Position: refs/heads/master@{#297219}
Total comments: 7
Total comments: 29
Total comments: 8
Total comments: 3
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+622 lines, -742 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/search_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/supervised_user/supervised_user_theme.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_properties.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/view_ids.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+25 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+26 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h
|
View
|
1
2
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+33 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+74 lines, -60 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/views/profiles/avatar_label.h
|
View
|
1
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/views/profiles/avatar_label.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -129 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ui/views/profiles/supervised_user_avatar_label.h
|
View
|
1
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ui/views/profiles/supervised_user_avatar_label.cc
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+17 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/downloads_ui_browsertest.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/downloads_ui_browsertest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/downloads_ui_browsertest.js
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -152 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ui/webui/downloads_ui_browsertest_base.js
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -64 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/webui/downloads_ui_supervised_browsertest.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/webui/downloads_ui_supervised_browsertest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/webui/downloads_ui_supervised_browsertest.js
|
View
|
1
2
3
4
5
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/extensions/extension_settings_handler.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/create_profile_handler.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+48 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/create_profile_handler.cc
|
View
|
1
2
3
4
5
6
7
|
15 chunks |
+201 lines, -160 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/options_ui.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
Total messages: 58 (6 generated)
|