DescriptionRefactor the two URLRequestContext subclasses in profile.cc into a new shared
ChromeRequestContext class. This will allow us to put browser-specific request
context here rather than in URLRequestContext and eliminates a lot of
duplicate code.
I looked at having two different classes using either inheritance (as proposed
by the existing TODO) or composition, but it seems like there isn't enough
difference between these two classes to justify it.
Removed is_off_the_record() because it wasn't being used anywhere and did a
few other minor code cleanup things.
Patch Set 1 #Patch Set 2 : aa@chromium.org #Patch Set 3 : Fix line endings in chrome_request_context.h #
Total comments: 17
Patch Set 4 : Rename ChromeRequestContext to ChromeURLRequestContext, various other fixens #Patch Set 5 : aa@chromium.org #
Messages
Total messages: 8 (0 generated)
|