|
Make SystemMonitor not a Singleton and move it out of base
SystemMonitor makes an assumption that through its lifetime a MessageLoop exists and stays the same. It is difficult and error-prone to satisfy that when it is a Singleton. It has caused problems in the past.
Additionally, extract HighResoltionTimerManager out of time_win.cc, eliminating yet another Singleton.
TEST=none
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33214
Total comments: 3
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+198 lines, -186 lines) |
Patch |
 |
M |
app/app.gyp
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
app/hi_res_timer_manager.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
app/hi_res_timer_manager_posix.cc
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
app/hi_res_timer_manager_win.cc
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
app/system_monitor.h
|
View
|
|
4 chunks |
+9 lines, -20 lines |
0 comments
|
Download
|
 |
A + |
app/system_monitor.cc
|
View
|
|
3 chunks |
+26 lines, -26 lines |
0 comments
|
Download
|
 |
A + |
app/system_monitor_posix.cc
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
app/system_monitor_unittest.cc
|
View
|
|
2 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
A + |
app/system_monitor_win.cc
|
View
|
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
base/base.gyp
|
View
|
1
2
3
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
base/test/test_suite.h
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
base/time.h
|
View
|
1
2
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
base/time_win.cc
|
View
|
1
2
|
3 chunks |
+12 lines, -67 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profile_manager.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profile_manager.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/session_history_uitest.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/tabs/tab_strip_model_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/nacl/nacl_main.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/plugin/plugin_main.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
MM |
chrome/profile_import/profile_import_main.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/renderer_main.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/utility/utility_main.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/worker/worker_main.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome_frame/test/net/fake_external_tab.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/widget/widget_win.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
views/widget/widget_win.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|