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

Issue 10546034: Adds parsing for the app_id field from an "open-with-" link (Closed)

Created:
8 years, 6 months ago by Greg Spencer (Chromium)
Modified:
8 years, 6 months ago
Reviewers:
zel
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Adds parsing for the app_id field from an "open-with-" link in Drive. Later CLs will use app_id field to look up an associated app. Also adjusted unit test so that it would assert less and expect more. I expect more from my unit tests. :-) BUG=chromium:126895 TEST=Ran updated unit test. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141680

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review changes #

Total comments: 2

Patch Set 3 : Added json test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -127 lines) Patch
M chrome/browser/chromeos/gdata/gdata_parser.h View 2 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_parser.cc View 1 3 chunks +49 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_parser_unittest.cc View 1 2 8 chunks +183 lines, -115 lines 0 comments Download
M chrome/test/data/chromeos/gdata/basic_feed.json View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M chrome/test/data/chromeos/gdata/entry.xml View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Greg Spencer (Chromium)
8 years, 6 months ago (2012-06-06 23:24:03 UTC) #1
zel
http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser_unittest.cc File chrome/browser/chromeos/gdata/gdata_parser_unittest.cc (right): http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser_unittest.cc#newcode140 chrome/browser/chromeos/gdata/gdata_parser_unittest.cc:140: IF_EXPECT_EQ(1U, folder_entry->authors().size()) { we shouldn't replace ASSERT_TRUE() here. what ...
8 years, 6 months ago (2012-06-06 23:29:59 UTC) #2
zel
http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser.cc File chrome/browser/chromeos/gdata/gdata_parser.cc (right): http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser.cc#newcode286 chrome/browser/chromeos/gdata/gdata_parser.cc:286: if (rel.size() < 46 || (rel[36] != 'o' && ...
8 years, 6 months ago (2012-06-06 23:32:06 UTC) #3
Greg Spencer (Chromium)
On 2012/06/06 23:29:59, zel wrote: > http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser_unittest.cc > File chrome/browser/chromeos/gdata/gdata_parser_unittest.cc (right): > > http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser_unittest.cc#newcode140 > ...
8 years, 6 months ago (2012-06-06 23:33:26 UTC) #4
Greg Spencer (Chromium)
On 2012/06/06 23:33:26, Greg Spencer (Chromium) wrote: > On 2012/06/06 23:29:59, zel wrote: > > ...
8 years, 6 months ago (2012-06-06 23:33:41 UTC) #5
Greg Spencer (Chromium)
http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser.cc File chrome/browser/chromeos/gdata/gdata_parser.cc (right): http://codereview.chromium.org/10546034/diff/1/chrome/browser/chromeos/gdata/gdata_parser.cc#newcode286 chrome/browser/chromeos/gdata/gdata_parser.cc:286: if (rel.size() < 46 || (rel[36] != 'o' && ...
8 years, 6 months ago (2012-06-07 00:05:27 UTC) #6
Greg Spencer (Chromium)
Ping.
8 years, 6 months ago (2012-06-11 21:27:59 UTC) #7
zel
http://codereview.chromium.org/10546034/diff/6002/chrome/test/data/chromeos/gdata/entry.xml File chrome/test/data/chromeos/gdata/entry.xml (right): http://codereview.chromium.org/10546034/diff/6002/chrome/test/data/chromeos/gdata/entry.xml#newcode1 chrome/test/data/chromeos/gdata/entry.xml:1: <?xml version="1.0" encoding="UTF-8"?><entry gd:etag="&quot;HhMOFgcNHSt7ImBr&quot;" xmlns="http://www.w3.org/2005/Atom" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:docs="http://schemas.google.com/docs/2007" xmlns:gd="http://schemas.google.com/g/2005"><id>https://xml_file_id</id><published>2010-11-07T05:03:54.719Z</published><updated>2011-04-01T18:34:08.234Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-21T04:35:08.213Z</app:edited><category ...
8 years, 6 months ago (2012-06-11 22:19:38 UTC) #8
Greg Spencer (Chromium)
http://codereview.chromium.org/10546034/diff/6002/chrome/test/data/chromeos/gdata/entry.xml File chrome/test/data/chromeos/gdata/entry.xml (right): http://codereview.chromium.org/10546034/diff/6002/chrome/test/data/chromeos/gdata/entry.xml#newcode1 chrome/test/data/chromeos/gdata/entry.xml:1: <?xml version="1.0" encoding="UTF-8"?><entry gd:etag="&quot;HhMOFgcNHSt7ImBr&quot;" xmlns="http://www.w3.org/2005/Atom" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:docs="http://schemas.google.com/docs/2007" xmlns:gd="http://schemas.google.com/g/2005"><id>https://xml_file_id</id><published>2010-11-07T05:03:54.719Z</published><updated>2011-04-01T18:34:08.234Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-21T04:35:08.213Z</app:edited><category ...
8 years, 6 months ago (2012-06-11 23:19:20 UTC) #9
zel
lgtm
8 years, 6 months ago (2012-06-12 08:41:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/10546034/5002
8 years, 6 months ago (2012-06-12 16:26:07 UTC) #11
commit-bot: I haz the power
8 years, 6 months ago (2012-06-12 17:39:24 UTC) #12
Change committed as 141680

Powered by Google App Engine
This is Rietveld 408576698