|
Merge NetworkTimeNotifier to NetworkTimeTracker
To remove dependencies to BrowserProcess and IOThread from NetworkTimeTracker.
Remove NetworkTimeNotifier from IOThread, add NetworkTimeTracker to BrowserProcess instead.
Change all users to use the NetworkTimeTracker instance owned by BrowserProcess.
Since NetworkTimeTracker is living in the UI thread, there is no need to have multi-thread callback chain in NetowrkTimeTracker, the only exception is sync_backend_host_impl.cc who needs a callback which can be run on the IO thread.
BUG= 371470
TEST=git cl try
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271389
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+143 lines, -462 lines) |
Patch |
 |
M |
chrome/browser/browser_process.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.h
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.cc
|
View
|
1
2
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/variations/variations_service.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/network_time/network_time_service.h
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/network_time/network_time_service.cc
|
View
|
1
2
|
5 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/network_time/network_time_tracker.h
|
View
|
1
2
|
2 chunks |
+23 lines, -45 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/network_time/network_time_tracker.cc
|
View
|
1
2
|
4 chunks |
+49 lines, -115 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/network_time/network_time_tracker_unittest.cc
|
View
|
1
|
7 chunks |
+8 lines, -77 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host_impl.cc
|
View
|
1
2
|
4 chunks |
+24 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/upgrade_detector_impl.h
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/upgrade_detector_impl.cc
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_browser_process.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_browser_process.cc
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_io_thread_state.cc
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/DEPS
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
D |
net/base/network_time_notifier.h
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
 |
D |
net/base/network_time_notifier.cc
|
View
|
|
1 chunk |
+0 lines, -92 lines |
0 comments
|
Download
|
 |
M |
net/net.gypi
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/http_bridge.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|