Bug 30193

Summary: Move PolicyChecker to it's own file
Product: WebKit Reporter: Adam Barth <abarth>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 29947    
Attachments:
Description Flags
Patch v1
none
Patch v1
none
Patch v1 eric: review+, abarth: commit-queue-

Description Adam Barth 2009-10-07 20:49:22 PDT
I'm also renaming PolicyCheck to PolicyCallback in the same change (to more clearly distinguish it from PolicyChecker).
Comment 1 Adam Barth 2009-10-07 20:50:52 PDT
Created attachment 40838 [details]
Patch v1
Comment 2 Adam Barth 2009-10-07 20:53:34 PDT
Created attachment 40840 [details]
Patch v1
Comment 3 Adam Barth 2009-10-07 21:39:11 PDT
Created attachment 40842 [details]
Patch v1
Comment 4 Eric Seidel (no email) 2009-10-07 22:06:01 PDT
Comment on attachment 40842 [details]
Patch v1

Should it really be "PolicyCallback"? and not "NavigationPolicyCallback" or "LoadPolicyCallback" or "LoaderPolicyCalback"?

Our indent-in-headers policy is under discussion on webkit-dev, but this change complies to the current style guidelines, so is fine as-is.

cq- given the question about the naming, but otherwise looks fine.  You could reply with some naming justification and set cq+ yourself if you like.
Comment 5 Adam Barth 2009-10-07 22:58:39 PDT
(In reply to comment #4)
> Should it really be "PolicyCallback"? and not "NavigationPolicyCallback" or
> "LoadPolicyCallback" or "LoaderPolicyCalback"?

NavigationPolicyCallback isn't right because Navigation is just one of the three things it does.  LoadPolicyCallback or LoaderPolicyCalback would be fine.  We can change the name later if we like.  I just wanted to make it different from PolicyChecker in the short term.
Comment 6 Adam Barth 2009-10-07 23:09:55 PDT
Comment on attachment 40842 [details]
Patch v1

I need to land this manually.
Comment 7 Adam Barth 2009-10-07 23:17:32 PDT
Committed r49290: <http://trac.webkit.org/changeset/49290>