Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Issue 189753003: Pass FileHandlersInfo to [Create|Update]PlatformShortcuts. (Closed)

Created:
6 years, 9 months ago by jackhou1
Modified:
6 years, 8 months ago
Reviewers:
benwells, Matt Giuca
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Pass FileHandlersInfo to [Create|Update]PlatformShortcuts. This pulls FileHandlerInfo out of file_handlers_parse. This allows [Create|Update]PlatformShortcuts to register the shortcut as a file handler in the OS. BUG=261427 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263217

Patch Set 1 #

Total comments: 1

Patch Set 2 : Pass FileHandlersInfo as another parameter. #

Total comments: 8

Patch Set 3 : Move InfoCallback to .cc #

Patch Set 4 : Move FileHandlersInfo to file_handler_info #

Total comments: 2

Patch Set 5 : Sync and rebase #

Patch Set 6 : Address comments #

Patch Set 7 : Fix compile on Linux #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -91 lines) Patch
M chrome/browser/web_applications/web_app.h View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 2 3 4 5 9 chunks +115 lines, -67 lines 0 comments Download
M chrome/browser/web_applications/web_app_android.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/web_applications/web_app_chromeos.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/web_applications/web_app_linux.cc View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_handlers/file_handlers_parser.h View 1 1 chunk +1 line, -14 lines 0 comments Download
M chrome/common/extensions/api/file_handlers/file_handlers_parser.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
A chrome/common/extensions/file_handler_info.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/common/extensions/file_handler_info.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jackhou1
6 years, 9 months ago (2014-03-10 03:35:44 UTC) #1
benwells
https://codereview.chromium.org/189753003/diff/1/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): https://codereview.chromium.org/189753003/diff/1/chrome/browser/shell_integration.h#newcode14 chrome/browser/shell_integration.h:14: #include "chrome/common/extensions/api/file_handlers/file_handlers_parser.h" This dependency doesn't look like a great ...
6 years, 9 months ago (2014-03-11 03:13:06 UTC) #2
jackhou1
PTAL
6 years, 8 months ago (2014-04-08 07:18:03 UTC) #3
benwells
Just had a quick look. https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h#newcode14 chrome/browser/shell_integration.h:14: #include "chrome/common/extensions/file_handler_info.h" This is ...
6 years, 8 months ago (2014-04-08 22:15:40 UTC) #4
jackhou1
https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h#newcode14 chrome/browser/shell_integration.h:14: #include "chrome/common/extensions/file_handler_info.h" On 2014/04/08 22:15:40, benwells wrote: > This ...
6 years, 8 months ago (2014-04-08 23:29:02 UTC) #5
benwells
https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h#newcode14 chrome/browser/shell_integration.h:14: #include "chrome/common/extensions/file_handler_info.h" On 2014/04/08 23:29:03, jackhou1 wrote: > On ...
6 years, 8 months ago (2014-04-09 03:46:39 UTC) #6
jackhou1
https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): https://codereview.chromium.org/189753003/diff/20001/chrome/browser/shell_integration.h#newcode14 chrome/browser/shell_integration.h:14: #include "chrome/common/extensions/file_handler_info.h" On 2014/04/09 03:46:40, benwells wrote: > On ...
6 years, 8 months ago (2014-04-10 02:38:23 UTC) #7
benwells
lgtm with a nit. https://codereview.chromium.org/189753003/diff/60001/chrome/browser/web_applications/web_app.cc File chrome/browser/web_applications/web_app.cc (right): https://codereview.chromium.org/189753003/diff/60001/chrome/browser/web_applications/web_app.cc#newcode248 chrome/browser/web_applications/web_app.cc:248: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); Nit: This should just ...
6 years, 8 months ago (2014-04-11 00:53:34 UTC) #8
jackhou1
https://codereview.chromium.org/189753003/diff/60001/chrome/browser/web_applications/web_app.cc File chrome/browser/web_applications/web_app.cc (right): https://codereview.chromium.org/189753003/diff/60001/chrome/browser/web_applications/web_app.cc#newcode248 chrome/browser/web_applications/web_app.cc:248: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); On 2014/04/11 00:53:34, benwells wrote: > Nit: This ...
6 years, 8 months ago (2014-04-11 03:04:40 UTC) #9
Matt Giuca
Looks good lgtm. This will help me a lot, thank you. I don't think it ...
6 years, 8 months ago (2014-04-11 03:19:50 UTC) #10
jackhou1
The CQ bit was checked by [email protected]
6 years, 8 months ago (2014-04-11 04:24:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/189753003/100001
6 years, 8 months ago (2014-04-11 04:25:44 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 8 months ago (2014-04-11 06:12:04 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 8 months ago (2014-04-11 06:12:05 UTC) #14
jackhou1
The CQ bit was checked by [email protected]
6 years, 8 months ago (2014-04-11 08:10:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/189753003/120001
6 years, 8 months ago (2014-04-11 08:11:14 UTC) #16
commit-bot: I haz the power
6 years, 8 months ago (2014-04-11 13:18:04 UTC) #17
Message was sent while issue was closed.
Change committed as 263217

Powered by Google App Engine
This is Rietveld 408576698