| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/bind_helpers.h" | 5 #include "base/bind_helpers.h" |
| 6 #include "base/location.h" | 6 #include "base/location.h" |
| 7 #include "base/macros.h" |
| 7 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 9 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 11 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
| 13 #include "build/build_config.h" |
| 12 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" | 14 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
| 13 #include "chrome/browser/plugins/plugin_prefs.h" | 15 #include "chrome/browser/plugins/plugin_prefs.h" |
| 14 #include "chrome/browser/printing/print_preview_dialog_controller.h" | 16 #include "chrome/browser/printing/print_preview_dialog_controller.h" |
| 15 #include "chrome/browser/task_management/task_management_browsertest_util.h" | 17 #include "chrome/browser/task_management/task_management_browsertest_util.h" |
| 16 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
| 17 #include "chrome/browser/ui/browser_commands.h" | 19 #include "chrome/browser/ui/browser_commands.h" |
| 18 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 20 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 19 #include "chrome/common/chrome_content_client.h" | 21 #include "chrome/common/chrome_content_client.h" |
| 20 #include "chrome/common/url_constants.h" | 22 #include "chrome/common/url_constants.h" |
| 21 #include "chrome/grit/generated_resources.h" | 23 #include "chrome/grit/generated_resources.h" |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 EXPECT_EQ(task_management::Task::RENDERER, task->GetType()); | 388 EXPECT_EQ(task_management::Task::RENDERER, task->GetType()); |
| 387 const base::string16 title = task->title(); | 389 const base::string16 title = task->title(); |
| 388 EXPECT_TRUE(base::StartsWith(title, | 390 EXPECT_TRUE(base::StartsWith(title, |
| 389 expected_prefix, | 391 expected_prefix, |
| 390 base::CompareCase::INSENSITIVE_ASCII)); | 392 base::CompareCase::INSENSITIVE_ASCII)); |
| 391 } | 393 } |
| 392 | 394 |
| 393 } // namespace | 395 } // namespace |
| 394 | 396 |
| 395 #endif // defined(ENABLE_TASK_MANAGER) | 397 #endif // defined(ENABLE_TASK_MANAGER) |
| OLD | NEW |