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

Issue 229553003: Implement syncing of bookmark apps. (Closed)

Created:
6 years, 8 months ago by calamity
Modified:
6 years, 8 months ago
Reviewers:
benwells, Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, haitaol+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
Visibility:
Public.

Description

Implement syncing of bookmark apps. This CL adds syncing of bookmark apps. This involves syncing two extra fields, which are the bookmark app url and description. These are not populated for non-bookmark apps. The bookmark app name is obtained from the extension sync data's name field. Bookmark apps that are installled from sync will not have any icon. Updating the icon and possibly fetching it on sync will be implemented in a future CL. Bookmark apps that are updated with a new name will keep their icons. This CL also adds a GetWebApplicationInfoFromBookmarkApp() function that returns a ready-to-install WebApplicationInfo that is populated with the app's details and icons. BUG=318607 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265887

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 5

Patch Set 3 : rebase #

Patch Set 4 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -4 lines) Patch
M chrome/browser/extensions/app_sync_data.h View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_sync_data.cc View 4 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.cc View 1 2 3 chunks +55 lines, -0 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper_unittest.cc View 1 2 3 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 2 4 chunks +69 lines, -0 lines 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sync_app_helper.cc View 4 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_apps_sync_test.cc View 1 2 3 3 chunks +52 lines, -0 lines 0 comments Download
M sync/protocol/app_specifics.proto View 1 chunk +7 lines, -0 lines 0 comments Download
M sync/protocol/extension_specifics.proto View 1 chunk +1 line, -1 line 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
calamity
6 years, 8 months ago (2014-04-10 04:18:55 UTC) #1
benwells
c/b/e lgtm https://codereview.chromium.org/229553003/diff/20001/chrome/browser/extensions/extension_sync_service.cc File chrome/browser/extensions/extension_sync_service.cc (right): https://codereview.chromium.org/229553003/diff/20001/chrome/browser/extensions/extension_sync_service.cc#newcode376 chrome/browser/extensions/extension_sync_service.cc:376: app_sync_data.extension_sync_data().name() && Was this git cl formatted?
6 years, 8 months ago (2014-04-11 23:15:56 UTC) #2
calamity
+zea for */sync/* OWNERS. https://codereview.chromium.org/229553003/diff/20001/chrome/browser/extensions/extension_sync_service.cc File chrome/browser/extensions/extension_sync_service.cc (right): https://codereview.chromium.org/229553003/diff/20001/chrome/browser/extensions/extension_sync_service.cc#newcode376 chrome/browser/extensions/extension_sync_service.cc:376: app_sync_data.extension_sync_data().name() && On 2014/04/11 23:15:56, ...
6 years, 8 months ago (2014-04-14 01:12:02 UTC) #3
benwells
https://codereview.chromium.org/229553003/diff/20001/chrome/browser/extensions/extension_sync_service.cc File chrome/browser/extensions/extension_sync_service.cc (right): https://codereview.chromium.org/229553003/diff/20001/chrome/browser/extensions/extension_sync_service.cc#newcode376 chrome/browser/extensions/extension_sync_service.cc:376: app_sync_data.extension_sync_data().name() && On 2014/04/14 01:12:03, calamity wrote: > On ...
6 years, 8 months ago (2014-04-14 06:19:27 UTC) #4
Nicolas Zea
https://codereview.chromium.org/229553003/diff/20001/sync/protocol/app_specifics.proto File sync/protocol/app_specifics.proto (right): https://codereview.chromium.org/229553003/diff/20001/sync/protocol/app_specifics.proto#newcode77 sync/protocol/app_specifics.proto:77: optional string bookmark_app_description = 7; Is this something that ...
6 years, 8 months ago (2014-04-14 21:46:11 UTC) #5
calamity
https://codereview.chromium.org/229553003/diff/20001/sync/protocol/app_specifics.proto File sync/protocol/app_specifics.proto (right): https://codereview.chromium.org/229553003/diff/20001/sync/protocol/app_specifics.proto#newcode77 sync/protocol/app_specifics.proto:77: optional string bookmark_app_description = 7; On 2014/04/14 21:46:11, Nicolas ...
6 years, 8 months ago (2014-04-15 01:06:04 UTC) #6
calamity
On 2014/04/15 01:06:04, calamity wrote: > https://codereview.chromium.org/229553003/diff/20001/sync/protocol/app_specifics.proto > File sync/protocol/app_specifics.proto (right): > > https://codereview.chromium.org/229553003/diff/20001/sync/protocol/app_specifics.proto#newcode77 > ...
6 years, 8 months ago (2014-04-16 01:41:50 UTC) #7
Nicolas Zea
The problem with this approach is that these kind of automatic updates triggered without user ...
6 years, 8 months ago (2014-04-16 19:06:04 UTC) #8
calamity
On 2014/04/16 19:06:04, Nicolas Zea wrote: > The problem with this approach is that these ...
6 years, 8 months ago (2014-04-22 01:13:26 UTC) #9
Nicolas Zea
lgtm
6 years, 8 months ago (2014-04-22 17:43:31 UTC) #10
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 8 months ago (2014-04-23 05:19:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/229553003/20001
6 years, 8 months ago (2014-04-23 05:20:13 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-23 05:20:19 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_sync_service.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-23 05:20:19 UTC) #14
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 8 months ago (2014-04-23 14:00:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/229553003/40001
6 years, 8 months ago (2014-04-23 14:00:57 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-23 14:42:38 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-23 14:42:38 UTC) #18
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 8 months ago (2014-04-24 03:57:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/229553003/60001
6 years, 8 months ago (2014-04-24 03:57:41 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 05:15:17 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-24 05:15:18 UTC) #22
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 8 months ago (2014-04-24 05:46:25 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/229553003/60001
6 years, 8 months ago (2014-04-24 05:47:00 UTC) #24
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 08:42:47 UTC) #25
Message was sent while issue was closed.
Change committed as 265887

Powered by Google App Engine
This is Rietveld 408576698