RESOLVED FIXED 105316
[WK2] Create a context client
https://bugs.webkit.org/show_bug.cgi?id=105316
Summary [WK2] Create a context client
Jon Lee
Reported 2012-12-18 09:18:00 PST
The web context basically currently has two clients: a download client and a history client. Create a third generic client where miscellaneous calls can be aggregated.
Attachments
Patch (17.30 KB, patch)
2012-12-18 09:54 PST, Jon Lee
beidson: review+
Radar WebKit Bug Importer
Comment 1 2012-12-18 09:18:14 PST
Jon Lee
Comment 2 2012-12-18 09:54:07 PST
WebKit Review Bot
Comment 3 2012-12-18 10:00:56 PST
Attachment 179969 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/CMakeLists.txt', u'Source/W..." exit_code: 1 Source/WebKit2/UIProcess/API/C/WKContext.h:49: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 4 2012-12-18 10:01:58 PST
What will go in this client? Without any context, I am not sure how to review this patch.
Jon Lee
Comment 5 2012-12-18 10:09:07 PST
A function to notify the context client that the table of auto-start origin hashes has changed.
Brady Eidson
Comment 6 2012-12-18 16:00:43 PST
Comment on attachment 179969 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=179969&action=review r+ with one requested change. > Source/WebKit2/UIProcess/WebContext.h:374 > WebHistoryClient m_historyClient; > + WebDownloadClient m_downloadClient; > + WebContextClient m_client; Might as well sort these alphabetically as long as you're rearranging them.
Jon Lee
Comment 7 2012-12-18 18:13:23 PST
Note You need to log in before you can comment on or make changes to this bug.