Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Issue 7108044: C++ documentation for URL Loading classes (Closed)

Created:
9 years, 6 months ago by jond
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

C++ documentation for URL Loading classes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96030

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 77

Patch Set 3 : '' #

Total comments: 22

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+485 lines, -16 lines) Patch
M ppapi/cpp/url_loader.h View 1 2 3 4 5 6 2 chunks +177 lines, -5 lines 6 comments Download
M ppapi/cpp/url_request_info.h View 1 2 3 4 5 6 1 chunk +236 lines, -6 lines 0 comments Download
M ppapi/cpp/url_response_info.h View 1 2 3 4 5 6 1 chunk +72 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jond
9 years, 6 months ago (2011-06-09 16:42:06 UTC) #1
jond
9 years, 5 months ago (2011-07-05 17:18:21 UTC) #2
polina
With the introduction of IDL, I think you should not be making these changes in ...
9 years, 4 months ago (2011-08-01 10:35:50 UTC) #3
jond
http://codereview.chromium.org/7108044/diff/5001/ppapi/cpp/url_loader.h File ppapi/cpp/url_loader.h (right): http://codereview.chromium.org/7108044/diff/5001/ppapi/cpp/url_loader.h#newcode13 ppapi/cpp/url_loader.h:13: /// This file defines the API to download URLs. ...
9 years, 4 months ago (2011-08-01 21:03:09 UTC) #4
jond
New files uploaded.
9 years, 4 months ago (2011-08-02 22:08:08 UTC) #5
polina
http://codereview.chromium.org/7108044/diff/5001/ppapi/cpp/url_request_info.h File ppapi/cpp/url_request_info.h (right): http://codereview.chromium.org/7108044/diff/5001/ppapi/cpp/url_request_info.h#newcode102 ppapi/cpp/url_request_info.h:102: /// (corresponding to a string of type <code>PP_VARTYPE_STRING</code>) On ...
9 years, 4 months ago (2011-08-03 00:28:33 UTC) #6
jond
http://codereview.chromium.org/7108044/diff/13001/ppapi/cpp/url_loader.h File ppapi/cpp/url_loader.h (right): http://codereview.chromium.org/7108044/diff/13001/ppapi/cpp/url_loader.h#newcode105 ppapi/cpp/url_loader.h:105: /// The copy constructor. On 2011/08/03 00:28:33, polina wrote: ...
9 years, 4 months ago (2011-08-04 15:50:33 UTC) #7
polina
http://codereview.chromium.org/7108044/diff/13001/ppapi/cpp/url_request_info.h File ppapi/cpp/url_request_info.h (right): http://codereview.chromium.org/7108044/diff/13001/ppapi/cpp/url_request_info.h#newcode63 ppapi/cpp/url_request_info.h:63: /// @param[in] file_ref A <code>FileRef_Dev</code> containing the file On ...
9 years, 4 months ago (2011-08-04 22:01:03 UTC) #8
jond
http://codereview.chromium.org/7108044/diff/13001/ppapi/cpp/url_request_info.h File ppapi/cpp/url_request_info.h (right): http://codereview.chromium.org/7108044/diff/13001/ppapi/cpp/url_request_info.h#newcode63 ppapi/cpp/url_request_info.h:63: /// @param[in] file_ref A <code>FileRef_Dev</code> containing the file On ...
9 years, 4 months ago (2011-08-05 17:07:47 UTC) #9
jond
9 years, 4 months ago (2011-08-05 17:33:14 UTC) #10
polina
LGTM
9 years, 4 months ago (2011-08-05 20:20:59 UTC) #11
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 4 months ago (2011-08-09 16:21:52 UTC) #12
dmichael (off chromium)
rubber-stamp LGTM
9 years, 4 months ago (2011-08-09 17:08:27 UTC) #13
brettw
http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h File ppapi/cpp/url_loader.h (right): http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h#newcode26 ppapi/cpp/url_loader.h:26: /// class MyHandler { This code example should not ...
9 years, 4 months ago (2011-08-23 23:29:01 UTC) #14
jond
http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h File ppapi/cpp/url_loader.h (right): http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h#newcode26 ppapi/cpp/url_loader.h:26: /// class MyHandler { I actually don't know how ...
9 years, 4 months ago (2011-08-24 15:33:58 UTC) #15
polina
http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h File ppapi/cpp/url_loader.h (right): http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h#newcode26 ppapi/cpp/url_loader.h:26: /// class MyHandler { On 2011/08/24 15:33:59, jond wrote: ...
9 years, 4 months ago (2011-08-24 19:52:01 UTC) #16
polina
http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h File ppapi/cpp/url_loader.h (right): http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h#newcode26 ppapi/cpp/url_loader.h:26: /// class MyHandler { On 2011/08/24 19:52:01, polina wrote: ...
9 years, 4 months ago (2011-08-24 19:55:53 UTC) #17
polina
http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h File ppapi/cpp/url_loader.h (right): http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h#newcode26 ppapi/cpp/url_loader.h:26: /// class MyHandler { On 2011/08/24 19:55:53, polina wrote: ...
9 years, 4 months ago (2011-08-24 20:06:14 UTC) #18
polina
9 years, 4 months ago (2011-08-24 20:07:35 UTC) #19
http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h
File ppapi/cpp/url_loader.h (right):

http://codereview.chromium.org/7108044/diff/27001/ppapi/cpp/url_loader.h#newc...
ppapi/cpp/url_loader.h:26: ///   class MyHandler {
On 2011/08/24 20:06:14, polina wrote:
> On 2011/08/24 19:55:53, polina wrote:
> > On 2011/08/24 19:52:01, polina wrote:
> > > On 2011/08/24 15:33:59, jond wrote:
> > > > I actually don't know how this example got in here if it wasn't there
> > > > previously. And, there doesn't seem to be a url_loader.cc at the
location
> on
> > > the
> > > > left. Do you simply want me to remove the example?
> > > > 
> > > >  On 2011/08/23 23:29:01, brettw wrote:
> > > > > This code example should not have been added back. The code doesn't
> > compile
> > > > and
> > > > > some of the callback handling is subtly and dangerously incorrect.
This
> is
> > > why
> > > > I
> > > > > made a separate example that's actually compiled in the build, so we
can
> > > > ensure
> > > > > it actually works.
> > > > > 
> > > > > Can you please revert this part of this change?
> > > > > 
> > > > > In the future, can you please be extra careful when updating things
that
> > > have
> > > > > changed since starting working on the documentation? There have been
> > several
> > > > > cases of comment fixes getting reverted because a comment from an
older
> > > > revision
> > > > > was rewritten and pasted over the updated version. It should be a huge
> red
> > > > flag
> > > > > when you get a merge conflict, and we always need to understand the
> > > conflicts
> > > > > rather than overwriting the changes.
> > > > 
> > > 
> > > Jon, if you view the diff for patch sets 1 or 2, they will be compared
> against
> > > the older revision that still had this example. Remember I even had you
fix
> > some
> > > other merge-related omission in my first set of comments? Anyway, it looks
> > like
> > > after that you synced to a newer revision that no longer had the example.
> But
> > > since your local copy still did, it got erroneously put back in a merge
> > > conflict. After a sync and before a commit, it is always a good idea to
look
> > at
> > > the most recent diff, to see how the merge conflicts got resolved, both
> > > automatically and manually.
> > > 
> > > So at this point, you should just remove this example from line 22 to line
> 81
> > > and replace it with the comment pointing to
> > > ppapi/examples/url_loader/url_loader.cc on line 20 of the LHS.
> > >  
> > 
> > And I just verified that the file is there:
> > 
> > http://src.chromium.org/viewvc/chrome/trunk/src/ppapi/examples/url_loader/
> > 
> > You must have looked in the example/ dir instead of examples/ with an S.
> > 
> 
> Sorry, I rushed with my "helpful" comment. The directory is there, but the .cc
> file is not.

Confirmed with Brett. Please point to streaming.cc. Thank you!

Powered by Google App Engine
This is Rietveld 408576698