summaryrefslogtreecommitdiffstats
path: root/sync/internal_api
diff options
context:
space:
mode:
authorhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 20:48:19 +0000
committerhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 20:48:19 +0000
commite341fb8781ffac9f1a6e166a2b304137508f58ff (patch)
treed6ec0aee654b303785dfde11ad60c323e1257b16 /sync/internal_api
parent13846a58c952a4f888c8838ed1055134fb073368 (diff)
downloadchromium_src-e341fb8781ffac9f1a6e166a2b304137508f58ff.zip
chromium_src-e341fb8781ffac9f1a6e166a2b304137508f58ff.tar.gz
chromium_src-e341fb8781ffac9f1a6e166a2b304137508f58ff.tar.bz2
gdata: Fix an unnecessary DCHECK for debug builds.
In GDataFileSystem::OnGetFileInfoCompleteForGetFileByPath it is possible for |error| to be not OK and the |file_info| to be NULL. This is handled in the GetResolvedFileByPath() where |get_file_callback| to be invoked with PLATFORM_FILE_ERROR_NOT_FOUND. To prevent unnecessarily terminate the process during debugging, the DCHECK should only trigger when |error| is OK yet |file_info| is NULL. BUG= TEST=local Review URL: https://chromiumcodereview.appspot.com/10561033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api')
0 files changed, 0 insertions, 0 deletions