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

Issue 996213005: Don't crash when trying to create an ExtensionSyncData from invalid SyncData. (Closed)

Created:
5 years, 9 months ago by Yoyo Zhou
Modified:
5 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't crash when trying to create an ExtensionSyncData from invalid SyncData. Instead, ignore such invalid inputs from sync. BUG=359210 Committed: https://crrev.com/8704445335ddc83ec6099f83b6bc5c9e83416845 Cr-Commit-Position: refs/heads/master@{#320330}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : kalmanize #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -153 lines) Patch
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_sync_bundle.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/app_sync_data.h View 1 5 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/extensions/app_sync_data.cc View 1 4 chunks +28 lines, -14 lines 0 comments Download
M chrome/browser/extensions/app_sync_data_unittest.cc View 3 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_ui_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 14 chunks +70 lines, -51 lines 0 comments Download
M chrome/browser/extensions/extension_sync_bundle.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.h View 1 5 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.cc View 1 5 chunks +63 lines, -31 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data_unittest.cc View 2 chunks +18 lines, -14 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 7 chunks +19 lines, -15 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Yoyo Zhou
5 years, 9 months ago (2015-03-11 23:08:51 UTC) #3
not at google - send to devlin
Only significant comment is about the UMA. https://chromiumcodereview.appspot.com/996213005/diff/20001/chrome/browser/apps/ephemeral_app_browsertest.cc File chrome/browser/apps/ephemeral_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/996213005/diff/20001/chrome/browser/apps/ephemeral_app_browsertest.cc#newcode537 chrome/browser/apps/ephemeral_app_browsertest.cc:537: if (data->id() ...
5 years, 9 months ago (2015-03-11 23:21:35 UTC) #4
Yoyo Zhou
isherman: can you review histograms.xml? https://chromiumcodereview.appspot.com/996213005/diff/20001/chrome/browser/apps/ephemeral_app_browsertest.cc File chrome/browser/apps/ephemeral_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/996213005/diff/20001/chrome/browser/apps/ephemeral_app_browsertest.cc#newcode537 chrome/browser/apps/ephemeral_app_browsertest.cc:537: if (data->id() == id) ...
5 years, 9 months ago (2015-03-12 00:25:49 UTC) #6
Ilya Sherman
histograms.xml lgtm
5 years, 9 months ago (2015-03-12 02:14:21 UTC) #7
not at google - send to devlin
lgtm
5 years, 9 months ago (2015-03-12 16:38:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996213005/40001
5 years, 9 months ago (2015-03-12 16:54:05 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 9 months ago (2015-03-12 18:43:00 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-12 18:43:42 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8704445335ddc83ec6099f83b6bc5c9e83416845
Cr-Commit-Position: refs/heads/master@{#320330}

Powered by Google App Engine
This is Rietveld 408576698