Commit 0ae83436 authored by Devlin Cronin's avatar Devlin Cronin Committed by Commit Bot

[Extensions] Update ExtensionService references in c/b/task_manager

Update references to ExtensionService in c/b/task_manager to use
extensions::ExtensionService.

There should be no behavior change as a result of this CL.

Bug: 117261
Change-Id: I18111ab851102ba21239b4ae7b7ee54ec0fc1076
Reviewed-on: https://chromium-review.googlesource.com/1080021Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563047}
parent ed0e5dad
...@@ -406,8 +406,9 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeAppTabChanges) { ...@@ -406,8 +406,9 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeAppTabChanges) {
ShowTaskManager(); ShowTaskManager();
ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("packaged_app"))); ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("packaged_app")));
ExtensionService* service = extensions::ExtensionSystem::Get( extensions::ExtensionService* service =
browser()->profile())->extension_service(); extensions::ExtensionSystem::Get(browser()->profile())
->extension_service();
const extensions::Extension* extension = const extensions::Extension* extension =
service->GetExtensionById(last_loaded_extension_id(), false); service->GetExtensionById(last_loaded_extension_id(), false);
...@@ -448,8 +449,9 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeAppTabChanges) { ...@@ -448,8 +449,9 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeAppTabChanges) {
IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeAppTab) { IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeAppTab) {
ASSERT_TRUE(LoadExtension( ASSERT_TRUE(LoadExtension(
test_data_dir_.AppendASCII("packaged_app"))); test_data_dir_.AppendASCII("packaged_app")));
ExtensionService* service = extensions::ExtensionSystem::Get( extensions::ExtensionService* service =
browser()->profile())->extension_service(); extensions::ExtensionSystem::Get(browser()->profile())
->extension_service();
const extensions::Extension* extension = const extensions::Extension* extension =
service->GetExtensionById(last_loaded_extension_id(), false); service->GetExtensionById(last_loaded_extension_id(), false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment