RESOLVED FIXED 33648
[Chromium] Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
https://bugs.webkit.org/show_bug.cgi?id=33648
Summary [Chromium] Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
Marcus Bulach
Reported 2010-01-13 20:13:06 PST
Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
Attachments
Patch (1.68 KB, patch)
2010-01-13 20:18 PST, Marcus Bulach
dglazkov: review-
Patch (1.77 KB, patch)
2010-01-14 09:49 PST, Marcus Bulach
no flags
Marcus Bulach
Comment 1 2010-01-13 20:18:54 PST
Jeremy Orlow
Comment 2 2010-01-13 23:07:36 PST
> Index: WebKit/chromium/ChangeLog > =================================================================== > --- WebKit/chromium/ChangeLog (revision 53232) > +++ WebKit/chromium/ChangeLog (working copy) > @@ -1,3 +1,13 @@ > +2010-01-13 Marcus Bulach <bulach@chromium.org> > + > + Reviewed by NOBODY (OOPS!). > + > + Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier. Need to add the bug number to the change log. > Index: WebKit/chromium/public/WebSecurityOrigin.h > =================================================================== > --- WebKit/chromium/public/WebSecurityOrigin.h (revision 53224) > +++ WebKit/chromium/public/WebSecurityOrigin.h (working copy) > @@ -55,6 +55,8 @@ public: > return *this; > } > > + WEBKIT_API static WebSecurityOrigin* createFromDatabaseIdentifier(const WebString& database); databaseIdentifier is probably a better name > Index: WebKit/chromium/src/WebSecurityOrigin.cpp > =================================================================== > --- WebKit/chromium/src/WebSecurityOrigin.cpp (revision 53224) > +++ WebKit/chromium/src/WebSecurityOrigin.cpp (working copy) > @@ -42,6 +42,11 @@ namespace WebKit { > class WebSecurityOriginPrivate : public SecurityOrigin { > }; > > +WebSecurityOrigin* WebSecurityOrigin::createFromDatabaseIdentifier(const WebString& database) > +{ > + return new WebSecurityOrigin(SecurityOrigin::createFromDatabaseIdentifier(database)); ditto, ditto
Dimitri Glazkov (Google)
Comment 3 2010-01-14 07:41:57 PST
Comment on attachment 46536 [details] Patch r- based on Jeremy's comments.
Marcus Bulach
Comment 4 2010-01-14 09:49:48 PST
Created attachment 46577 [details] Patch Thanks for the quick review! I renamed the param and added the bug number to the ChangeLog entry. Would you mind another look please? Thanks, Marcus
Dimitri Glazkov (Google)
Comment 5 2010-01-14 14:56:04 PST
Comment on attachment 46577 [details] Patch ok.
WebKit Commit Bot
Comment 6 2010-01-14 18:44:14 PST
Comment on attachment 46577 [details] Patch Clearing flags on attachment: 46577 Committed r53314: <http://trac.webkit.org/changeset/53314>
WebKit Commit Bot
Comment 7 2010-01-14 18:44:19 PST
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.