Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: chrome/browser/task_manager/task_manager_browsertest.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/task_manager/task_manager.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/background_contents_service.h" 9 #include "chrome/browser/background_contents_service.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/extensions/crashed_extension_infobar.h" 11 #include "chrome/browser/extensions/crashed_extension_infobar.h"
12 #include "chrome/browser/extensions/extension_browsertest.h" 12 #include "chrome/browser/extensions/extension_browsertest.h"
13 #include "chrome/browser/extensions/extension_service.h" 13 #include "chrome/browser/extensions/extension_service.h"
14 #include "chrome/browser/notifications/desktop_notification_service.h" 14 #include "chrome/browser/notifications/desktop_notification_service.h"
15 #include "chrome/browser/notifications/notification.h" 15 #include "chrome/browser/notifications/notification.h"
16 #include "chrome/browser/notifications/notification_test_util.h" 16 #include "chrome/browser/notifications/notification_test_util.h"
17 #include "chrome/browser/notifications/notification_ui_manager.h" 17 #include "chrome/browser/notifications/notification_ui_manager.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" 19 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
20 #include "chrome/browser/tabs/tab_strip_model.h" 20 #include "chrome/browser/tabs/tab_strip_model.h"
21 #include "chrome/browser/ui/browser.h" 21 #include "chrome/browser/ui/browser.h"
22 #include "chrome/browser/ui/browser_navigator.h" 22 #include "chrome/browser/ui/browser_navigator.h"
23 #include "chrome/browser/ui/browser_window.h" 23 #include "chrome/browser/ui/browser_window.h"
24 #include "chrome/common/extensions/extension.h" 24 #include "chrome/common/extensions/extension.h"
25 #include "chrome/common/page_transition_types.h"
26 #include "chrome/test/in_process_browser_test.h" 25 #include "chrome/test/in_process_browser_test.h"
27 #include "chrome/test/ui_test_utils.h" 26 #include "chrome/test/ui_test_utils.h"
28 #include "content/browser/tab_contents/tab_contents.h" 27 #include "content/browser/tab_contents/tab_contents.h"
28 #include "content/common/page_transition_types.h"
29 #include "grit/generated_resources.h" 29 #include "grit/generated_resources.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 #include "ui/base/l10n/l10n_util.h" 31 #include "ui/base/l10n/l10n_util.h"
32 32
33 namespace { 33 namespace {
34 34
35 const FilePath::CharType* kTitle1File = FILE_PATH_LITERAL("title1.html"); 35 const FilePath::CharType* kTitle1File = FILE_PATH_LITERAL("title1.html");
36 36
37 class ResourceChangeObserver : public TaskManagerModelObserver { 37 class ResourceChangeObserver : public TaskManagerModelObserver {
38 public: 38 public:
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 WaitForResourceChange(3); 455 WaitForResourceChange(3);
456 456
457 // Check that we get some value for the cache columns. 457 // Check that we get some value for the cache columns.
458 DCHECK_NE(model()->GetResourceWebCoreImageCacheSize(2), 458 DCHECK_NE(model()->GetResourceWebCoreImageCacheSize(2),
459 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); 459 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT));
460 DCHECK_NE(model()->GetResourceWebCoreScriptsCacheSize(2), 460 DCHECK_NE(model()->GetResourceWebCoreScriptsCacheSize(2),
461 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); 461 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT));
462 DCHECK_NE(model()->GetResourceWebCoreCSSCacheSize(2), 462 DCHECK_NE(model()->GetResourceWebCoreCSSCacheSize(2),
463 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)); 463 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT));
464 } 464 }
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698