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

Issue 17481002: Restructure ExtensionAppShimHandler testing. (Closed)

Created:
7 years, 6 months ago by jackhou1
Modified:
7 years, 6 months ago
Reviewers:
tapted
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org
Visibility:
Public.

Description

Restructure ExtensionAppShimHandler testing. This puts all dependencies into a inner Delegate class so the test can mock them out. BUG=168080 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207862

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address comments #

Total comments: 7

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -102 lines) Patch
M apps/app_shim/extension_app_shim_handler_mac.h View 1 5 chunks +21 lines, -8 lines 0 comments Download
M apps/app_shim/extension_app_shim_handler_mac.cc View 1 2 9 chunks +77 lines, -66 lines 0 comments Download
M apps/app_shim/extension_app_shim_handler_mac_unittest.cc View 1 6 chunks +97 lines, -28 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jackhou1
I think better to get this cleaned up and committed before I make more changes ...
7 years, 6 months ago (2013-06-21 02:06:14 UTC) #1
tapted
https://codereview.chromium.org/17481002/diff/1/apps/app_shim/extension_app_shim_handler_mac.cc File apps/app_shim/extension_app_shim_handler_mac.cc (right): https://codereview.chromium.org/17481002/diff/1/apps/app_shim/extension_app_shim_handler_mac.cc#newcode56 apps/app_shim/extension_app_shim_handler_mac.cc:56: ExtensionAppShimHandler::Delegate::GetExtension( since the is_platform_app check is moving in here, ...
7 years, 6 months ago (2013-06-21 04:30:47 UTC) #2
jackhou1
https://codereview.chromium.org/17481002/diff/1/apps/app_shim/extension_app_shim_handler_mac.cc File apps/app_shim/extension_app_shim_handler_mac.cc (right): https://codereview.chromium.org/17481002/diff/1/apps/app_shim/extension_app_shim_handler_mac.cc#newcode56 apps/app_shim/extension_app_shim_handler_mac.cc:56: ExtensionAppShimHandler::Delegate::GetExtension( On 2013/06/21 04:30:47, tapted wrote: > since the ...
7 years, 6 months ago (2013-06-21 05:46:27 UTC) #3
tapted
should add the app shim bug# too https://codereview.chromium.org/17481002/diff/5001/apps/app_shim/extension_app_shim_handler_mac.cc File apps/app_shim/extension_app_shim_handler_mac.cc (right): https://codereview.chromium.org/17481002/diff/5001/apps/app_shim/extension_app_shim_handler_mac.cc#newcode46 apps/app_shim/extension_app_shim_handler_mac.cc:46: base::FilePath full_path ...
7 years, 6 months ago (2013-06-21 06:07:02 UTC) #4
jackhou1
https://codereview.chromium.org/17481002/diff/5001/apps/app_shim/extension_app_shim_handler_mac.cc File apps/app_shim/extension_app_shim_handler_mac.cc (right): https://codereview.chromium.org/17481002/diff/5001/apps/app_shim/extension_app_shim_handler_mac.cc#newcode46 apps/app_shim/extension_app_shim_handler_mac.cc:46: base::FilePath full_path = profile_manager->user_data_dir().Append(path); On 2013/06/21 06:07:02, tapted wrote: ...
7 years, 6 months ago (2013-06-21 06:53:57 UTC) #5
tapted
lgtm https://codereview.chromium.org/17481002/diff/5001/apps/app_shim/extension_app_shim_handler_mac.cc File apps/app_shim/extension_app_shim_handler_mac.cc (right): https://codereview.chromium.org/17481002/diff/5001/apps/app_shim/extension_app_shim_handler_mac.cc#newcode46 apps/app_shim/extension_app_shim_handler_mac.cc:46: base::FilePath full_path = profile_manager->user_data_dir().Append(path); On 2013/06/21 06:53:57, jackhou1 ...
7 years, 6 months ago (2013-06-21 08:02:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/17481002/13001
7 years, 6 months ago (2013-06-21 08:19:57 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 16:50:21 UTC) #8
Message was sent while issue was closed.
Change committed as 207862

Powered by Google App Engine
This is Rietveld 408576698