Bug 75663

Summary: Move Cookie.h into namespace Platform
Product: WebKit Reporter: Adam Barth <abarth>
Component: New BugsAssignee: Adam Barth <abarth>
Status: RESOLVED LATER    
Severity: Normal CC: eric, jamesr
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 75664    
Attachments:
Description Flags
Patch none

Description Adam Barth 2012-01-05 15:37:10 PST
Move Cookie.h into namespace Platform
Comment 1 Adam Barth 2012-01-05 15:37:43 PST
Created attachment 121351 [details]
Patch
Comment 2 James Robinson 2012-01-05 15:45:56 PST
Comment on attachment 121351 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=121351&action=review

> Source/WebCore/platform/Cookie.h:86
> +using Platform::Cookie;
> +using Platform::CookieHash;

can we just update people using this to the new namespace as we migrate types? i'm really concerned about collisions if we end up putting every type in WebCore/platform into the global namespace
Comment 3 Eric Seidel (no email) 2012-01-05 15:46:12 PST
Comment on attachment 121351 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=121351&action=review

> Source/WebCore/platform/chromium/PlatformSupport.h:38
> +#include "Cookie.h"

Why include instead of just forward declare in the right namespace?