WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
85766
[Chromium] Move createLocalStorageNamespace to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=85766
Summary
[Chromium] Move createLocalStorageNamespace to Platform.h
Mark Pilgrim (Google)
Reported
2012-05-06 19:49:38 PDT
[Chromium] Move createLocalStorageNamespace to Platform.h
Attachments
Patch
(4.90 KB, patch)
2012-05-06 19:50 PDT
,
Mark Pilgrim (Google)
no flags
Details
Formatted Diff
Diff
Patch
(18.58 KB, patch)
2012-05-11 12:43 PDT
,
Mark Pilgrim (Google)
no flags
Details
Formatted Diff
Diff
Patch
(90.22 KB, patch)
2012-05-14 07:55 PDT
,
Gavin Peters
no flags
Details
Formatted Diff
Diff
Patch
(17.00 KB, patch)
2012-06-05 08:00 PDT
,
Mark Pilgrim (Google)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Mark Pilgrim (Google)
Comment 1
2012-05-06 19:50:28 PDT
Created
attachment 140459
[details]
Patch
WebKit Review Bot
Comment 2
2012-05-06 19:51:47 PDT
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
Adam Barth
Comment 3
2012-05-06 20:42:59 PDT
Comment on
attachment 140459
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=140459&action=review
> Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h:-64 > -class WebStorageNamespace; // FIXME: Does this belong in platform?
Please move WebStorageNamespace.h and WebStorageArea.h at the same time. It looks like there aren't any further dependencies, so that should work out fine. We can then remove the FIXME comment because the answer seems to be "yes".
Michael Nordman
Comment 4
2012-05-07 13:24:50 PDT
please wait till
https://bugs.webkit.org/show_bug.cgi?id=85221
is committed prior to shuffling things around, i expect to commit tomorrow (been waiting on the m20 branch to be cut)
Michael Nordman
Comment 5
2012-05-07 14:26:29 PDT
Just looked more closely at the patch, it doesn't actually resolve then linkage problem with the static StorageNamespace::create<<>> methods. I'm not sure shuffling the WebKit API method definitions to create WebStorageNamespace instances around needs to be done w/o actually solving the linkage problems.
Adam Barth
Comment 6
2012-05-07 15:13:30 PDT
> I'm not sure shuffling the WebKit API method definitions to create WebStorageNamespace instances around needs to be done w/o actually solving the linkage problems.
We'll solve the linkage problems eventually. This patch is just a step in the right direction. Rather than solving this problem "depth first" by resolving each linkage problem, we're going "breath first" and refactoring the API to the point where we can fix these problems internally in WebKit.
Michael Nordman
Comment 7
2012-05-10 19:01:03 PDT
fyi
https://bugs.webkit.org/show_bug.cgi?id=85221
is landed, thnx for waiting
Mark Pilgrim (Google)
Comment 8
2012-05-11 12:43:47 PDT
Created
attachment 141477
[details]
Patch
Mark Pilgrim (Google)
Comment 9
2012-05-11 12:44:45 PDT
Comment on
attachment 141477
[details]
Patch Also moves the other classes Adam wanted.
Michael Nordman
Comment 10
2012-05-11 12:54:04 PDT
Comment on
attachment 141477
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=141477&action=review
> Source/WebKit/chromium/public/WebStorageArea.h:31 > +#include "../../../Platform/chromium/public/WebStorageArea.h"
geez... look at that include path... is the plan to leave this files in WebKit/chromium/public or to switch consumers to include from Platform/chromium/public directly? just curious
James Robinson
Comment 11
2012-05-11 12:56:36 PDT
(In reply to
comment #10
)
> (From update of
attachment 141477
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=141477&action=review
> > > Source/WebKit/chromium/public/WebStorageArea.h:31 > > +#include "../../../Platform/chromium/public/WebStorageArea.h" > > geez... look at that include path... is the plan to leave this files in WebKit/chromium/public or to switch consumers to include from Platform/chromium/public directly? > > just curious
We have two WebKit APIs - the client and the platform API. If this header is logically part of the client API (i.e. it makes sense to talk about it in code that's otherwise using just the client API), then we leave this forwarding header in place. If it's only used by code talking to the platform API, then we should update the chromium code to use the Platform location and then delete this header. I don't want to force all chromium code currently using #includes from WebKit/chromium/public/ to also have to #include stuff from Platform/... just to pick up types it wants to use.
Adam Barth
Comment 12
2012-05-11 13:31:49 PDT
Comment on
attachment 141477
[details]
Patch LGTM.
Adam Barth
Comment 13
2012-05-11 13:32:23 PDT
Comment on
attachment 141477
[details]
Patch It looks like
Bug 85221
has landed, so we should be good to go here.
WebKit Review Bot
Comment 14
2012-05-11 15:29:50 PDT
Comment on
attachment 141477
[details]
Patch Clearing flags on attachment: 141477 Committed
r116812
: <
http://trac.webkit.org/changeset/116812
>
WebKit Review Bot
Comment 15
2012-05-11 15:29:56 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 16
2012-05-12 23:00:44 PDT
Re-opened since this is blocked by 86313
Gavin Peters
Comment 17
2012-05-14 07:55:17 PDT
Created
attachment 141729
[details]
Patch
Gavin Peters
Comment 18
2012-05-14 07:57:43 PDT
Mark, my apologies: webkit-patch spazziness led me to this bad upload. I have obsoleted my upload, and unobsoleted yours. I'm sorry for the confusion.
Mark Pilgrim (Google)
Comment 19
2012-06-05 08:00:31 PDT
Created
attachment 145797
[details]
Patch
Mark Pilgrim (Google)
Comment 20
2012-06-05 08:03:13 PDT
Unbitrotting this patch after it was reviewed, committed, landed, mistakenly blamed for a downstream crash, rolled back, mistakenly obsoleted, and probably some other stuff I forgot.
WebKit Review Bot
Comment 21
2012-06-05 11:54:08 PDT
Comment on
attachment 145797
[details]
Patch Clearing flags on attachment: 145797 Committed
r119510
: <
http://trac.webkit.org/changeset/119510
>
WebKit Review Bot
Comment 22
2012-06-05 11:54:30 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug