| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/macros.h" |
| 5 #include "base/strings/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
| 7 #include "build/build_config.h" |
| 6 #include "chrome/browser/extensions/extension_browsertest.h" | 8 #include "chrome/browser/extensions/extension_browsertest.h" |
| 7 #include "chrome/browser/task_management/task_management_browsertest_util.h" | 9 #include "chrome/browser/task_management/task_management_browsertest_util.h" |
| 8 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
| 9 #include "extensions/browser/test_image_loader.h" | 11 #include "extensions/browser/test_image_loader.h" |
| 10 #include "extensions/common/constants.h" | 12 #include "extensions/common/constants.h" |
| 11 #include "ui/gfx/image/image.h" | 13 #include "ui/gfx/image/image.h" |
| 12 #include "ui/gfx/skia_util.h" | 14 #include "ui/gfx/skia_util.h" |
| 13 | 15 |
| 14 namespace task_management { | 16 namespace task_management { |
| 15 | 17 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 116 |
| 115 // Reload the extension, the task manager should show it again. | 117 // Reload the extension, the task manager should show it again. |
| 116 ReloadExtension(extension->id()); | 118 ReloadExtension(extension->id()); |
| 117 EXPECT_EQ(2U, tracked_tags().size()); | 119 EXPECT_EQ(2U, tracked_tags().size()); |
| 118 EXPECT_EQ(2U, task_manager.tasks().size()); | 120 EXPECT_EQ(2U, task_manager.tasks().size()); |
| 119 EXPECT_EQ(Task::EXTENSION, task_manager.tasks().back()->GetType()); | 121 EXPECT_EQ(Task::EXTENSION, task_manager.tasks().back()->GetType()); |
| 120 } | 122 } |
| 121 | 123 |
| 122 } // namespace task_management | 124 } // namespace task_management |
| 123 | 125 |
| OLD | NEW |