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

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

Issue 7232003: Move MachBroker to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/prerender/prerender_contents.cc ('k') | chrome/chrome_browser.gypi » ('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/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/i18n/number_formatting.h" 8 #include "base/i18n/number_formatting.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 21 matching lines...) Expand all
32 #include "content/browser/tab_contents/tab_contents.h" 32 #include "content/browser/tab_contents/tab_contents.h"
33 #include "content/common/result_codes.h" 33 #include "content/common/result_codes.h"
34 #include "grit/app_resources.h" 34 #include "grit/app_resources.h"
35 #include "grit/chromium_strings.h" 35 #include "grit/chromium_strings.h"
36 #include "grit/generated_resources.h" 36 #include "grit/generated_resources.h"
37 #include "ui/base/l10n/l10n_util.h" 37 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/resource/resource_bundle.h" 38 #include "ui/base/resource/resource_bundle.h"
39 #include "unicode/coll.h" 39 #include "unicode/coll.h"
40 40
41 #if defined(OS_MACOSX) 41 #if defined(OS_MACOSX)
42 #include "chrome/browser/mach_broker_mac.h" 42 #include "content/browser/mach_broker_mac.h"
43 #endif 43 #endif
44 44
45 namespace { 45 namespace {
46 46
47 // The delay between updates of the information (in ms). 47 // The delay between updates of the information (in ms).
48 #if defined(OS_MACOSX) 48 #if defined(OS_MACOSX)
49 // Match Activity Monitor's default refresh rate. 49 // Match Activity Monitor's default refresh rate.
50 const int kUpdateTimeMs = 2000; 50 const int kUpdateTimeMs = 2000;
51 #else 51 #else
52 const int kUpdateTimeMs = 1000; 52 const int kUpdateTimeMs = 1000;
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 // Count the number of extensions with background pages (including 1033 // Count the number of extensions with background pages (including
1034 // incognito). 1034 // incognito).
1035 count += CountExtensionBackgroundPagesForProfile(profile); 1035 count += CountExtensionBackgroundPagesForProfile(profile);
1036 if (profile->HasOffTheRecordProfile()) { 1036 if (profile->HasOffTheRecordProfile()) {
1037 count += CountExtensionBackgroundPagesForProfile( 1037 count += CountExtensionBackgroundPagesForProfile(
1038 profile->GetOffTheRecordProfile()); 1038 profile->GetOffTheRecordProfile());
1039 } 1039 }
1040 } 1040 }
1041 return count; 1041 return count;
1042 } 1042 }
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698