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

Issue 1066623008: Sync bookmark app icon urls and sizes, and download icons for new apps. (Closed)

Created:
5 years, 8 months ago by benwells
Modified:
5 years, 7 months ago
Reviewers:
calamity, Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, albertb+watch_chromium.org, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sync bookmark app icon urls and sizes, and download icons for new apps. This means bookmark apps can use proper icons from the web page or the pages manifest, and have these reflectd on all devices the bookmark app is synced to. BUG=480049 Committed: https://crrev.com/ed75d1b590e7ed38fa1a8f2f688925b390019aa6 Cr-Commit-Position: refs/heads/master@{#327424}

Patch Set 1 #

Patch Set 2 : Fix failing tests and extra checks #

Total comments: 16

Patch Set 3 : Feedback #

Total comments: 8

Patch Set 4 : Feedback #

Patch Set 5 : Updated sync value conversions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+676 lines, -88 lines) Patch
M chrome/browser/extensions/app_sync_data.h View 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_sync_data.cc View 5 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.h View 1 2 3 2 chunks +29 lines, -3 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.cc View 1 2 3 11 chunks +225 lines, -56 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper_unittest.cc View 1 2 3 9 chunks +137 lines, -25 lines 0 comments Download
M chrome/browser/extensions/convert_web_app.cc View 1 chunk +12 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/chrome_manifest_handlers.cc View 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/common/extensions/manifest_handlers/linked_app_icons.h View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/common/extensions/manifest_handlers/linked_app_icons.cc View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
M extensions/common/manifest_constants.h View 2 chunks +7 lines, -0 lines 0 comments Download
M extensions/common/manifest_constants.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M sync/protocol/app_specifics.proto View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions_unittest.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
benwells
https://codereview.chromium.org/1066623008/diff/20001/chrome/common/extensions/manifest_handlers/linked_app_icons.cc File chrome/common/extensions/manifest_handlers/linked_app_icons.cc (right): https://codereview.chromium.org/1066623008/diff/20001/chrome/common/extensions/manifest_handlers/linked_app_icons.cc#newcode1 chrome/common/extensions/manifest_handlers/linked_app_icons.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 8 months ago (2015-04-23 06:39:00 UTC) #2
calamity
Icons urls will only get used once, at downsync creation time, right? We don't want ...
5 years, 8 months ago (2015-04-24 05:05:41 UTC) #3
benwells
https://codereview.chromium.org/1066623008/diff/20001/chrome/browser/extensions/bookmark_app_helper.cc File chrome/browser/extensions/bookmark_app_helper.cc (right): https://codereview.chromium.org/1066623008/diff/20001/chrome/browser/extensions/bookmark_app_helper.cc#newcode204 chrome/browser/extensions/bookmark_app_helper.cc:204: void UpdateWebAppInfoIcons( On 2015/04/24 05:05:40, calamity wrote: > This ...
5 years, 8 months ago (2015-04-27 09:54:54 UTC) #4
calamity
https://codereview.chromium.org/1066623008/diff/20001/chrome/browser/extensions/bookmark_app_helper.cc File chrome/browser/extensions/bookmark_app_helper.cc (right): https://codereview.chromium.org/1066623008/diff/20001/chrome/browser/extensions/bookmark_app_helper.cc#newcode253 chrome/browser/extensions/bookmark_app_helper.cc:253: urls_to_download_.push_back(icon.url); On 2015/04/27 09:54:54, benwells wrote: > On 2015/04/24 ...
5 years, 7 months ago (2015-04-28 06:56:36 UTC) #5
benwells
https://codereview.chromium.org/1066623008/diff/40001/chrome/browser/extensions/bookmark_app_helper.cc File chrome/browser/extensions/bookmark_app_helper.cc (right): https://codereview.chromium.org/1066623008/diff/40001/chrome/browser/extensions/bookmark_app_helper.cc#newcode413 chrome/browser/extensions/bookmark_app_helper.cc:413: for (const auto& pair : bitmap_map) { On 2015/04/28 ...
5 years, 7 months ago (2015-04-28 08:10:57 UTC) #6
calamity
lgtm
5 years, 7 months ago (2015-04-28 08:18:23 UTC) #7
benwells
+zea for owners review of sync
5 years, 7 months ago (2015-04-28 08:27:40 UTC) #9
Nicolas Zea
Could you update proto_value_conversions as well?
5 years, 7 months ago (2015-04-28 16:51:50 UTC) #10
benwells
On 2015/04/28 16:51:50, Nicolas Zea wrote: > Could you update proto_value_conversions as well? Done.
5 years, 7 months ago (2015-04-28 23:36:39 UTC) #11
Nicolas Zea
sync LGTM
5 years, 7 months ago (2015-04-28 23:37:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066623008/80001
5 years, 7 months ago (2015-04-29 00:03:44 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-04-29 02:39:41 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 02:40:39 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ed75d1b590e7ed38fa1a8f2f688925b390019aa6
Cr-Commit-Position: refs/heads/master@{#327424}

Powered by Google App Engine
This is Rietveld 408576698