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

Issue 10073005: gdata: Remove OnDirectoryChanged from MockGDataSyncClient (Closed)

Created:
8 years, 8 months ago by satorux1
Modified:
8 years, 8 months ago
Reviewers:
Jun Mukai, zel
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

gdata: Remove OnDirectoryChanged from MockGDataSyncClient It's wrong to have OnDirectoryChanged in MockGDataSyncClient, as GDataSyncClient is not interested in the event. BUG=none TEST=unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132149

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -38 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 7 chunks +0 lines, -37 lines 0 comments Download
M chrome/browser/chromeos/gdata/mock_gdata_sync_client.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
satorux1
8 years, 8 months ago (2012-04-13 06:03:37 UTC) #1
Jun Mukai
lgtm
8 years, 8 months ago (2012-04-13 06:06:59 UTC) #2
zel
Why did you do this? You have just nuked all directory notification tests that we ...
8 years, 8 months ago (2012-04-13 17:57:49 UTC) #3
satorux1
Sorry about that. I thought these were there just to suppress mock warnings than to ...
8 years, 8 months ago (2012-04-14 03:04:22 UTC) #4
zel
no problem, i am trying to re-land the proper fix at http://codereview.chromium.org/10081032/ On Fri, Apr ...
8 years, 8 months ago (2012-04-14 03:26:42 UTC) #5
zel
8 years, 8 months ago (2012-04-14 03:55:27 UTC) #6
landed from the second attempt


On Fri, Apr 13, 2012 at 8:26 PM, Zelidrag Hornung <zelidrag@chromium.org>wrote:

> no problem, i am trying to re-land the proper fix at
> http://codereview.chromium.org/10081032/
>
>
>
> On Fri, Apr 13, 2012 at 8:04 PM, Satoru Takabayashi
<satorux@chromium.org>wrote:
>
>> Sorry about that. I thought these were there just to suppress mock
>> warnings than to be intentionally placed as the sync client is not
>> interested in the event. I should not have touched code in the midnight
>> before going on vacation. :~(
>>
>> Now going back to pretend I'm offline...
>>
>> On Apr 13, 2012 7:57 AM, <zelidrag@chromium.org> wrote:
>> >
>> > Why did you do this? You have just nuked all directory notification
>> tests that
>> > we had there.
>> >
>> > The correct fix would be to create another mock that is interested in
>> > OnDirectoryChanged() event only, not to remove all tests.
>> >
>> > I am going to revert this CL.
>> >
>> > https://chromiumcodereview.appspot.com/10073005/
>>
>
>

Powered by Google App Engine
This is Rietveld 408576698