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

Issue 236213002: Move most of extension_file_util.cc into extensions/common/file_util.cc (Closed)

Created:
6 years, 8 months ago by James Cook
Modified:
6 years, 8 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, felt, nkostylev+watch_chromium.org, yukishiino+watch_chromium.org, chromoting-reviews_chromium.org, yoshiki+watch_chromium.org, nona+watch_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org, Ken Rockot(use gerrit already)
Visibility:
Public.

Description

Move most of extension_file_util.cc into extensions/common/file_util.cc This allows file_util::LoadExtension to be used from app_shell. Also added a trivial unit test for the one function remaining in extension_file_util. BUG=362752 TEST=unit_tests, added GetBrowserImagePaths TBR=stevenjb@chromium.org for mechanical header file renames touching c/b/chromeos Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263889

Patch Set 1 #

Patch Set 2 : zip (file-util) #

Total comments: 6

Patch Set 3 : rebase (file-util) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+894 lines, -905 lines) Patch
M apps/shell/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
M apps/shell/browser/shell_extension_system.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/file_manager/zip_file_creator.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/activity_log/uma_policy_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/app_process_apitest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/convert_user_script.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/convert_web_app.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 5 chunks +14 lines, -13 lines 0 comments Download
M chrome/browser/extensions/crx_installer_browsertest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_creator.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_garbage_collector.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/installed_loader.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/extensions/requirements_checker_browsertest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/sandboxed_unpacker.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/unpacked_installer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/unpacked_installer.cc View 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/extensions/user_script_listener_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension_file_util.h View 1 chunk +2 lines, -77 lines 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 3 chunks +2 lines, -302 lines 0 comments Download
M chrome/common/extensions/extension_file_util_unittest.cc View 1 chunk +18 lines, -434 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifest_test.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/remoting/remote_desktop_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/utility/extensions/unpacker.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/file_util.h View 2 chunks +73 lines, -0 lines 0 comments Download
M extensions/common/file_util.cc View 2 chunks +281 lines, -0 lines 0 comments Download
M extensions/common/file_util_unittest.cc View 2 chunks +441 lines, -0 lines 2 comments Download

Messages

Total messages: 17 (0 generated)
James Cook
yoz, PTAL rockot, just FYI about the DEPS cleanup One more dependency down. https://codereview.chromium.org/236213002/diff/20001/apps/shell/DEPS File ...
6 years, 8 months ago (2014-04-12 00:03:22 UTC) #1
Ken Rockot(use gerrit already)
https://codereview.chromium.org/236213002/diff/20001/apps/shell/DEPS File apps/shell/DEPS (left): https://codereview.chromium.org/236213002/diff/20001/apps/shell/DEPS#oldcode20 apps/shell/DEPS:20: "!chrome/common/extensions/api/sockets/sockets_manifest_handler.h", On 2014/04/12 00:03:22, James Cook wrote: > The ...
6 years, 8 months ago (2014-04-12 00:14:28 UTC) #2
Yoyo Zhou
LGTM
6 years, 8 months ago (2014-04-14 21:32:55 UTC) #3
James Cook
The CQ bit was checked by jamescook@chromium.org
6 years, 8 months ago (2014-04-14 22:38:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/236213002/40001
6 years, 8 months ago (2014-04-14 22:39:09 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-14 23:52:44 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-14 23:52:44 UTC) #7
James Cook
The CQ bit was checked by jamescook@chromium.org
6 years, 8 months ago (2014-04-15 00:11:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/236213002/40001
6 years, 8 months ago (2014-04-15 00:11:26 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 08:03:31 UTC) #10
James Cook
The CQ bit was checked by jamescook@chromium.org
6 years, 8 months ago (2014-04-15 15:45:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/236213002/40001
6 years, 8 months ago (2014-04-15 15:46:05 UTC) #13
commit-bot: I haz the power
Change committed as 263889
6 years, 8 months ago (2014-04-15 17:02:17 UTC) #14
tfarina
https://codereview.chromium.org/236213002/diff/40001/extensions/common/file_util_unittest.cc File extensions/common/file_util_unittest.cc (right): https://codereview.chromium.org/236213002/diff/40001/extensions/common/file_util_unittest.cc#newcode9 extensions/common/file_util_unittest.cc:9: #include "base/files/scoped_temp_dir.h" ought! that was lots of codes, he ...
6 years, 8 months ago (2014-04-17 02:32:24 UTC) #15
James Cook
On 2014/04/17 02:32:24, tfarina wrote: > https://codereview.chromium.org/236213002/diff/40001/extensions/common/file_util_unittest.cc > File extensions/common/file_util_unittest.cc (right): > > https://codereview.chromium.org/236213002/diff/40001/extensions/common/file_util_unittest.cc#newcode9 > ...
6 years, 8 months ago (2014-04-17 16:00:42 UTC) #16
tfarina
6 years, 8 months ago (2014-04-17 16:11:34 UTC) #17
Message was sent while issue was closed.
On 2014/04/17 16:00:42, James Cook wrote:
> I just landed https://codereview.chromium.org/239543005/ and file_util.cc
> doesn't require generated_resources.h any more. Does that help?
Sure, I will try later tonight.

Powered by Google App Engine
This is Rietveld 408576698