|
Split ExtensionTestObserver and move to //extensions.
This CL splits ExtensionsTestObserver into two parts. The base class
exists in //extensions and has no dependencies on //chrome. The code that
needs to depend on //chrome is now in a subclass. This will allow us to
use the observer in tests that are out of //chrome.
This class is split but more code needs to be moved from
ExtensionChromeTestObserver to ExtensionTestObserver. There are certain
parts that we've left in the Chrome version simply because they are too
much work to move in this CL itself.
This CL is one of many that will be required to move tests for apps and
extensions API that are in //extensions to be tested without Chrome.
Unfortunately as a side effect of this CL, a lot of tests that did not
follow IWYU, started breaking on compile - since they were depending on
the include in extension_test_observer.h. I've added sky@ as a top level
reviewer for owners approval for the changes made to fix all of these
tests.
Reviews,
rdevlin.cronin@ - everything
sky@ - includes added to fix broken tests.
michaelpg@ - FYI
R=rdevlin.cronin@chromium.org, sky@chromium.org
BUG= 505926
Committed: https://crrev.com/f65a72a71bea7aa1070c884e01ac24b91b45193f
Cr-Commit-Position: refs/heads/master@{#426304}
Total comments: 48
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+198 lines, -1005 lines) |
Patch |
 |
M |
chrome/browser/apps/app_browsertest_util.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/apps/app_window_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/apps/guest_view/web_view_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/easy_unlock/bootstrap_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/signin/device_id_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/signin/oauth2_browsertest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/app_background_page_apitest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/chrome_extension_test_notification_observer.h
|
View
|
1
2
3
|
1 chunk |
+20 lines, -90 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/chrome_extension_test_notification_observer.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+43 lines, -247 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_browsertest.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_browsertest.cc
|
View
|
1
2
3
4
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_crash_recovery_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/extension_test_notification_observer.h
|
View
|
|
1 chunk |
+0 lines, -126 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/extension_test_notification_observer.cc
|
View
|
|
1 chunk |
+0 lines, -328 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/isolated_app_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/process_manager_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/speech/extension_api/tts_extension_apitest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/app_list_service_views_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.mm
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_action_view_interactive_uitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/extensions/extension_settings_browsertest.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/runtime/runtime_apitest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/test/extension_test_notification_observer.h
|
View
|
1
2
3
4
5
|
5 chunks |
+57 lines, -41 lines |
0 comments
|
Download
|
 |
A + |
extensions/test/extension_test_notification_observer.cc
|
View
|
1
2
3
|
9 chunks |
+39 lines, -158 lines |
0 comments
|
Download
|
Total messages: 32 (14 generated)
|