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

Side by Side Diff: chrome/browser/memory_details.h

Issue 75031: Support for showing memory usage of 64-bit IE in a 32-bit Chromium process.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « base/process_util_win.cc ('k') | chrome/browser/memory_details.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_MEMORY_DETAILS_H_ 5 #ifndef CHROME_BROWSER_MEMORY_DETAILS_H_
6 #define CHROME_BROWSER_MEMORY_DETAILS_H_ 6 #define CHROME_BROWSER_MEMORY_DETAILS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // } 71 // }
72 class MemoryDetails : public base::RefCountedThreadSafe<MemoryDetails> { 72 class MemoryDetails : public base::RefCountedThreadSafe<MemoryDetails> {
73 public: 73 public:
74 // Known browsers which we collect details for. 74 // Known browsers which we collect details for.
75 enum { 75 enum {
76 CHROME_BROWSER = 0, 76 CHROME_BROWSER = 0,
77 IE_BROWSER, 77 IE_BROWSER,
78 FIREFOX_BROWSER, 78 FIREFOX_BROWSER,
79 OPERA_BROWSER, 79 OPERA_BROWSER,
80 SAFARI_BROWSER, 80 SAFARI_BROWSER,
81 IE_64BIT_BROWSER,
81 MAX_BROWSERS 82 MAX_BROWSERS
82 } BrowserProcess; 83 } BrowserProcess;
83 84
84 // Constructor. 85 // Constructor.
85 MemoryDetails(); 86 MemoryDetails();
86 virtual ~MemoryDetails() {} 87 virtual ~MemoryDetails() {}
87 88
88 // Access to the process detail information. This is an array 89 // Access to the process detail information. This is an array
89 // of MAX_BROWSER ProcessData structures. This data is only available 90 // of MAX_BROWSER ProcessData structures. This data is only available
90 // after OnDetailsAvailable() has been called. 91 // after OnDetailsAvailable() has been called.
(...skipping 30 matching lines...) Expand all
121 // the global histograms for tracking memory usage. 122 // the global histograms for tracking memory usage.
122 void UpdateHistograms(); 123 void UpdateHistograms();
123 124
124 ProcessData process_data_[MAX_BROWSERS]; 125 ProcessData process_data_[MAX_BROWSERS];
125 MessageLoop* ui_loop_; 126 MessageLoop* ui_loop_;
126 127
127 DISALLOW_EVIL_CONSTRUCTORS(MemoryDetails); 128 DISALLOW_EVIL_CONSTRUCTORS(MemoryDetails);
128 }; 129 };
129 130
130 #endif // CHROME_BROWSER_MEMORY_DETAILS_H_ 131 #endif // CHROME_BROWSER_MEMORY_DETAILS_H_
OLDNEW
« no previous file with comments | « base/process_util_win.cc ('k') | chrome/browser/memory_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698