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

Issue 271263002: New test cases for kiosk app crx file cache. (Closed)

Created:
6 years, 7 months ago by jennyz
Modified:
6 years, 7 months ago
Reviewers:
Dmitry Polukhin, xiyuan
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

New test cases for kiosk app crx file cache. Also fixes a bug in local_cache_extension.cc for app version update. BUG=369550 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270261

Patch Set 1 #

Total comments: 13

Patch Set 2 : Change KioskTestCommon to FakeCWS. #

Patch Set 3 : Nit: remove a unused variable. #

Total comments: 14

Patch Set 4 : Improvement based on comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+431 lines, -150 lines) Patch
A chrome/browser/chromeos/app_mode/fake_cws.h View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/app_mode/fake_cws.cc View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc View 1 2 3 13 chunks +181 lines, -32 lines 0 comments Download
M chrome/browser/chromeos/extensions/external_cache.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/external_cache.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 2 3 10 chunks +16 lines, -114 lines 0 comments Download
M chrome/browser/extensions/updater/local_extension_cache.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jennyz
dpolukhin@, please review the change in local_extension_cache.cc. https://codereview.chromium.org/271263002/diff/1/chrome/browser/extensions/updater/local_extension_cache.cc File chrome/browser/extensions/updater/local_extension_cache.cc (left): https://codereview.chromium.org/271263002/diff/1/chrome/browser/extensions/updater/local_extension_cache.cc#oldcode430 chrome/browser/extensions/updater/local_extension_cache.cc:430: it = ...
6 years, 7 months ago (2014-05-09 20:08:08 UTC) #1
Dmitry Polukhin
LGTM Thanks for fixing bug in cache!
6 years, 7 months ago (2014-05-09 20:35:26 UTC) #2
xiyuan
Thank you for adding tests and improve the test code. :) https://codereview.chromium.org/271263002/diff/1/chrome/browser/chromeos/app_mode/kiosk_app_manager.h File chrome/browser/chromeos/app_mode/kiosk_app_manager.h (right): ...
6 years, 7 months ago (2014-05-09 20:49:15 UTC) #3
jennyz
https://codereview.chromium.org/271263002/diff/1/chrome/browser/chromeos/app_mode/kiosk_app_manager.h File chrome/browser/chromeos/app_mode/kiosk_app_manager.h (right): https://codereview.chromium.org/271263002/diff/1/chrome/browser/chromeos/app_mode/kiosk_app_manager.h#newcode215 chrome/browser/chromeos/app_mode/kiosk_app_manager.h:215: void GetKioskAppCrxCacheDir(base::FilePath* cache_dir); On 2014/05/09 20:49:15, xiyuan wrote: > ...
6 years, 7 months ago (2014-05-13 00:31:20 UTC) #4
xiyuan
https://codereview.chromium.org/271263002/diff/60001/chrome/browser/chromeos/app_mode/fake_cws.h File chrome/browser/chromeos/app_mode/fake_cws.h (right): https://codereview.chromium.org/271263002/diff/60001/chrome/browser/chromeos/app_mode/fake_cws.h#newcode14 chrome/browser/chromeos/app_mode/fake_cws.h:14: using net::test_server::HttpResponse; "using" is not allowed in header file. ...
6 years, 7 months ago (2014-05-13 16:43:34 UTC) #5
jennyz
https://codereview.chromium.org/271263002/diff/60001/chrome/browser/chromeos/app_mode/fake_cws.h File chrome/browser/chromeos/app_mode/fake_cws.h (right): https://codereview.chromium.org/271263002/diff/60001/chrome/browser/chromeos/app_mode/fake_cws.h#newcode14 chrome/browser/chromeos/app_mode/fake_cws.h:14: using net::test_server::HttpResponse; On 2014/05/13 16:43:35, xiyuan wrote: > "using" ...
6 years, 7 months ago (2014-05-13 18:36:11 UTC) #6
xiyuan
LGTM!
6 years, 7 months ago (2014-05-13 18:41:17 UTC) #7
jennyz
The CQ bit was checked by jennyz@chromium.org
6 years, 7 months ago (2014-05-13 20:22:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/271263002/80001
6 years, 7 months ago (2014-05-13 20:23:10 UTC) #9
jennyz
6 years, 7 months ago (2014-05-13 20:38:36 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-14 00:13:22 UTC) #11
Message was sent while issue was closed.
Change committed as 270261

Powered by Google App Engine
This is Rietveld 408576698