summaryrefslogtreecommitdiffstats
path: root/src/core/url_request_context_getter_qt.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-01-19 16:31:49 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-01-19 16:29:24 +0000
commit07b431f20f2d6827f944087775f3dd1bd3f69aea (patch)
treec595b4aa16d2d8079bc8fae72260021f723049c2 /src/core/url_request_context_getter_qt.h
parentbbf1d3d981da0a12a0ad610b17e365ccddf58c6c (diff)
Avoid full storage update on installing URL scheme handlers
When installing/removing URL scheme handlers, do not update the full URLRequestContextStorage. Only update the job factory. This avoids calling the - potentially expensive - generateStorage() method superfluously often. Change-Id: I99c4ec479fcfdee4e97d86b858ea42f3cdccfec4 Task-number: QTBUG-50160 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/url_request_context_getter_qt.h')
-rw-r--r--src/core/url_request_context_getter_qt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/url_request_context_getter_qt.h b/src/core/url_request_context_getter_qt.h
index f61e4f09b..8740c65a2 100644
--- a/src/core/url_request_context_getter_qt.h
+++ b/src/core/url_request_context_getter_qt.h
@@ -77,6 +77,7 @@ public:
void updateUserAgent();
void updateCookieStore();
void updateHttpCache();
+ void updateJobFactory();
private:
virtual ~URLRequestContextGetterQt();