|
Add a new GetInstance() method for singleton classes under chrome/service and /net.
This is a small step towards making all singleton classes use the Singleton<T> pattern within their code and not expect the callers to know about it.
This CL includes files under chrome/service and /net with related files elsewhere.
Suggested files to focus for reviewers:
- @sanjeevr for chrome/common and chrome/service
- @ukai for net/websockets
- @agl for rest of net
BUG= 65298
TEST=all existing tests should continue to pass.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68722
Total comments: 11
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Stats (+138 lines, -60 lines) |
 |
M |
chrome/common/service_process_util.h
|
View
|
4 chunks |
+10 lines, -3 lines |
0 comments
|
 |
M |
chrome/common/service_process_util.cc
|
View
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
 |
M |
chrome/common/service_process_util_unittest.cc
|
View
|
4 chunks |
+20 lines, -9 lines |
0 comments
|
 |
M |
chrome/service/service_main.cc
|
View
|
1 chunk |
+1 line, -1 line |
0 comments
|
 |
M |
chrome/service/service_process.cc
|
View
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
 |
M |
net/base/bandwidth_metrics.h
|
View
|
1 chunk |
+1 line, -3 lines |
0 comments
|
 |
A |
net/base/bandwidth_metrics.cc
|
View
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
 |
M |
net/net.gyp
|
View
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
 |
M |
net/socket_stream/socket_stream_job.cc
|
View
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
 |
M |
net/socket_stream/socket_stream_job_manager.h
|
View
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
 |
M |
net/socket_stream/socket_stream_job_manager.cc
|
View
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
 |
M |
net/spdy/spdy_stream.cc
|
View
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
 |
M |
net/url_request/https_prober.h
|
View
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
 |
M |
net/url_request/https_prober.cc
|
View
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
 |
M |
net/url_request/url_request.cc
|
View
|
8 chunks |
+15 lines, -14 lines |
0 comments
|
 |
M |
net/url_request/url_request_http_job.cc
|
View
|
1 chunk |
+1 line, -1 line |
0 comments
|
 |
M |
net/url_request/url_request_job_manager.h
|
View
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
 |
M |
net/url_request/url_request_job_manager.cc
|
View
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
 |
M |
net/websockets/websocket_job.cc
|
View
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
 |
M |
net/websockets/websocket_job_unittest.cc
|
View
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
 |
M |
net/websockets/websocket_throttle.h
|
View
|
2 chunks |
+5 lines, -1 line |
0 comments
|
 |
M |
net/websockets/websocket_throttle.cc
|
View
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Total messages: 10 (0 generated)
|