diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-17 19:40:50 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-17 19:40:50 +0000 |
commit | d55ad15d8c3e118d6f03dbf236d6b98c62d66fe9 (patch) | |
tree | cecfa125cafc7e2d86bf5a5fb1d6f75d67753f4d /net/base/sdch_manager.h | |
parent | e8aa85cde74fd420944f97135361f81a958fe87c (diff) | |
download | chromium_src-d55ad15d8c3e118d6f03dbf236d6b98c62d66fe9.zip chromium_src-d55ad15d8c3e118d6f03dbf236d6b98c62d66fe9.tar.gz chromium_src-d55ad15d8c3e118d6f03dbf236d6b98c62d66fe9.tar.bz2 |
Improve modularity of recent SDCH dictionary load checkin
I felt guilty that I allowed url_request_job to have some logic
in it about whether it can load an SDCH dictinary or not. This
patch pushed the logic back into sdch_manager (where it belongs).
r=wtc
Review URL: http://codereview.chromium.org/20379
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9897 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/sdch_manager.h')
-rw-r--r-- | net/base/sdch_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h index 2a4e5b5..d94ea7d 100644 --- a/net/base/sdch_manager.h +++ b/net/base/sdch_manager.h @@ -247,7 +247,7 @@ class SdchManager { // before the dictionary is actually loaded and added. // After the implied task does completes, the dictionary will have been // cached in memory. - void FetchDictionary(const GURL& dictionary_url); + void FetchDictionary(const GURL& request_url, const GURL& dictionary_url); // Security test function used before initiating a FetchDictionary. // Return true if fetch is legal. |