| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/task_manager/task_manager.h" | 5 #include "chrome/browser/task_manager/task_manager.h" | 
| 6 | 6 | 
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" | 
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" | 
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" | 
| 10 #include "chrome/browser/browser.h" | 10 #include "chrome/browser/browser.h" | 
| 11 #include "chrome/browser/browser_navigator.h" |  | 
| 12 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" | 
| 13 #include "chrome/browser/browser_window.h" | 12 #include "chrome/browser/browser_window.h" | 
| 14 #include "chrome/browser/extensions/crashed_extension_infobar.h" | 13 #include "chrome/browser/extensions/crashed_extension_infobar.h" | 
| 15 #include "chrome/browser/extensions/extension_browsertest.h" | 14 #include "chrome/browser/extensions/extension_browsertest.h" | 
| 16 #include "chrome/browser/notifications/desktop_notification_service.h" | 15 #include "chrome/browser/notifications/desktop_notification_service.h" | 
| 17 #include "chrome/browser/notifications/notification_test_util.h" | 16 #include "chrome/browser/notifications/notification_test_util.h" | 
| 18 #include "chrome/browser/notifications/notification_ui_manager.h" | 17 #include "chrome/browser/notifications/notification_ui_manager.h" | 
| 19 #include "chrome/browser/tab_contents/infobar_delegate.h" | 18 #include "chrome/browser/tab_contents/infobar_delegate.h" | 
| 20 #include "chrome/browser/tab_contents/tab_contents.h" | 19 #include "chrome/browser/tab_contents/tab_contents.h" | 
| 21 #include "chrome/browser/tabs/tab_strip_model.h" | 20 #include "chrome/browser/tabs/tab_strip_model.h" | 
|  | 21 #include "chrome/browser/ui/browser_navigator.h" | 
| 22 #include "chrome/common/extensions/extension.h" | 22 #include "chrome/common/extensions/extension.h" | 
| 23 #include "chrome/common/page_transition_types.h" | 23 #include "chrome/common/page_transition_types.h" | 
| 24 #include "chrome/test/in_process_browser_test.h" | 24 #include "chrome/test/in_process_browser_test.h" | 
| 25 #include "chrome/test/ui_test_utils.h" | 25 #include "chrome/test/ui_test_utils.h" | 
| 26 #include "grit/generated_resources.h" | 26 #include "grit/generated_resources.h" | 
| 27 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" | 
| 28 | 28 | 
| 29 namespace { | 29 namespace { | 
| 30 | 30 | 
| 31 const FilePath::CharType* kTitle1File = FILE_PATH_LITERAL("title1.html"); | 31 const FilePath::CharType* kTitle1File = FILE_PATH_LITERAL("title1.html"); | 
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 291   WaitForResourceChange(3); | 291   WaitForResourceChange(3); | 
| 292 | 292 | 
| 293   // Check that we get some value for the cache columns. | 293   // Check that we get some value for the cache columns. | 
| 294   DCHECK_NE(model()->GetResourceWebCoreImageCacheSize(2), | 294   DCHECK_NE(model()->GetResourceWebCoreImageCacheSize(2), | 
| 295             l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); | 295             l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); | 
| 296   DCHECK_NE(model()->GetResourceWebCoreScriptsCacheSize(2), | 296   DCHECK_NE(model()->GetResourceWebCoreScriptsCacheSize(2), | 
| 297             l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); | 297             l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); | 
| 298   DCHECK_NE(model()->GetResourceWebCoreCSSCacheSize(2), | 298   DCHECK_NE(model()->GetResourceWebCoreCSSCacheSize(2), | 
| 299             l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); | 299             l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); | 
| 300 } | 300 } | 
| OLD | NEW | 
|---|