|
Abstract pref storage from net::SdchOwner
This is in preparation for moving prefs out of base, so it can no longer be
used directly by net. This abstract interface gives allows enough of the
storage system to be implemented for SdchOwner's needs by the embedder.
Implementations in terms of the prefs system are provided for Chrome and
Cronet.
The SDCH unit tests changed the most. Since the new API takes ownership of
the storage object, the tests have to do some management of the storage
objects while the old tests just kept the current one in memory.
Committed: https://crrev.com/66fdcb70dd8379e558e004da476c3088480aac3d
Cr-Commit-Position: refs/heads/master@{#372261}
Total comments: 7
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+808 lines, -198 lines) |
Patch |
 |
A |
chrome/browser/net/sdch_owner_pref_storage.h
|
View
|
1
2
3
4
5
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/net/sdch_owner_pref_storage.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl_io_data.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/cronet_url_request_context_adapter.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+103 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+105 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/crnet/crnet.gyp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/crnet/crnet_environment.mm
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
A |
ios/crnet/sdch_owner_pref_storage.h
|
View
|
1
2
3
4
5
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/crnet/sdch_owner_pref_storage.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/http/http_auth_preferences_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/sdch/sdch_owner.h
|
View
|
1
2
3
4
5
|
5 chunks |
+75 lines, -27 lines |
0 comments
|
Download
|
 |
M |
net/sdch/sdch_owner.cc
|
View
|
1
|
16 chunks |
+76 lines, -100 lines |
0 comments
|
Download
|
 |
M |
net/sdch/sdch_owner_unittest.cc
|
View
|
1
|
20 chunks |
+122 lines, -62 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 54 (27 generated)
|