Bug 76761

Summary: [BlackBerry] Credential backing store implementation
Product: WebKit Reporter: Jonathan Dong <jonathan.dong.webkit>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: rwlbuis, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Bug Depends on:    
Bug Blocks: 73144    
Attachments:
Description Flags
Patch
none
Patch
tonikitoo: review+
patch for cq after Antonio's review, also thanks Rob.
webkit.review.bot: commit-queue-
patch for cq none

Jonathan Dong
Reported 2012-01-20 18:02:20 PST
files: Source/WebCore/platform/network/blackberry/CredentialBackingStore.(h|cpp).
Attachments
Patch (11.71 KB, patch)
2012-01-20 18:13 PST, Jonathan Dong
no flags
Patch (11.76 KB, patch)
2012-01-29 18:42 PST, Jonathan Dong
tonikitoo: review+
patch for cq after Antonio's review, also thanks Rob. (12.48 KB, patch)
2012-01-29 21:34 PST, Jonathan Dong
webkit.review.bot: commit-queue-
patch for cq (12.48 KB, patch)
2012-01-29 21:43 PST, Jonathan Dong
no flags
Jonathan Dong
Comment 1 2012-01-20 18:13:36 PST
Rob Buis
Comment 2 2012-01-20 18:56:59 PST
Comment on attachment 123421 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123421&action=review I think it can be improved a bit more, r- for now. > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:66 > + // create table logins In general: Make comments look like sentences by starting with a capital letter and ending with a period. > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:104 > + // prepare the statments. statements. > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:105 > + Why empty line? > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:144 > + m_updateStatement =0; = 0 > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:254 > + Why empty line? > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:255 > + return credential; Why do we need a temp var here? > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:288 > + return false; This pattern is repeated a lot. Can you come up with macro(s)? If done correctly it will be much shorter and you don't need braces (go into macro).
Jonathan Dong
Comment 3 2012-01-29 18:42:53 PST
Antonio Gomes
Comment 4 2012-01-29 20:49:50 PST
Comment on attachment 124484 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=124484&action=review it loosk good, r+ Please re-upload with the suggestions addressed if you think they are convenient, and add "Reviewed by Antonio Gomes" to the new patch/changelog. No need to another review round, only cq+ needed. > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:70 > + // Create table logins I would drop this comment. it looks unneeded given the line below it. Also lacks a "." at the end :-) > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:74 > + // Create index for table logins ditto > Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp:77 > + } else { // Initiate CredentialStorage . in the end
Jonathan Dong
Comment 5 2012-01-29 21:34:10 PST
Created attachment 124493 [details] patch for cq after Antonio's review, also thanks Rob.
WebKit Review Bot
Comment 6 2012-01-29 21:34:51 PST
Comment on attachment 124493 [details] patch for cq after Antonio's review, also thanks Rob. Rejecting attachment 124493 [details] from commit-queue. jonathan.dong@torchmobile.com.cn does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Jonathan Dong
Comment 7 2012-01-29 21:43:08 PST
Created attachment 124494 [details] patch for cq re-attach the patch as wrongly set the commit-queue flag for the last patch. :(
Rob Buis
Comment 8 2012-01-30 04:35:24 PST
Comment on attachment 124494 [details] patch for cq Use cq
WebKit Review Bot
Comment 9 2012-01-30 04:50:13 PST
Comment on attachment 124494 [details] patch for cq Clearing flags on attachment: 124494 Committed r106234: <http://trac.webkit.org/changeset/106234>
WebKit Review Bot
Comment 10 2012-01-30 04:50:20 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.