Bug 135030 - Simplify WebOriginDataManager(Proxy) and rename to UIProcessOriginDataManager and ChildProcessOriginDataManager
Summary: Simplify WebOriginDataManager(Proxy) and rename to UIProcessOriginDataManager...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 15:43 PDT by Brady Eidson
Modified: 2014-07-17 18:04 PDT (History)
2 users (show)

See Also:


Attachments
Patch v1 - Rename, remove some cruft, add callbacks for all 3 API methods. (85.77 KB, patch)
2014-07-17 15:49 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2014-07-17 15:43:08 PDT
Simplify WebOriginDataManager(Proxy) and rename to UIProcessOriginDataManager and ChildProcessOriginDataManager

What is today called a "WebOriginDataManagerProxy" that exists in a WebProcess will actually exist in any ChildProcess type (Web, Networking, Database).

The WebOriginDataManager is still UIProcess-only.

So the renaming is pretty clear.

At the same time, I'll be removing cruft (like the change notification client stuff) that we don't have a need for right now.  It can always be added back later.
Comment 1 Brady Eidson 2014-07-17 15:49:06 PDT
Created attachment 235097 [details]
Patch v1 - Rename, remove some cruft, add callbacks for all 3 API methods.
Comment 2 WebKit Commit Bot 2014-07-17 15:52:06 PDT
Attachment 235097 [details] did not pass style-queue:


ERROR: Source/WebKit2/UIProcess/API/C/WKOriginDataManager.cpp:30:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebKit2/UIProcess/API/C/WKContext.cpp:50:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebKit2/UIProcess/UIProcessOriginDataManager.cpp:30:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebKit2/UIProcess/UIProcessOriginDataManager.cpp:83:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/UIProcessOriginDataManager.cpp:108:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/UIProcessOriginDataManager.cpp:132:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/Shared/ChildProcessOriginDataManager.cpp:30:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebKit2/UIProcess/UIProcessOriginDataManager.h:56:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/UIProcessOriginDataManager.h:57:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/UIProcessOriginDataManager.h:58:  Extra space before ( in function call  [whitespace/parens] [4]
Total errors found: 10 in 13 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Brady Eidson 2014-07-17 15:55:08 PDT
Comment on attachment 235097 [details]
Patch v1 - Rename, remove some cruft, add callbacks for all 3 API methods.

Not going to do this right now.