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

Issue 19547009: Move ".crx"/".pem" constants and extension_filenames constants into extensions/common/constants.cc. (Closed)

Created:
7 years, 5 months ago by Yoyo Zhou
Modified:
7 years, 5 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, asanka, extensions-reviews_chromium.org, jshin+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Move ".crx"/".pem" constants and extension_filenames constants into extensions/common/constants.cc. Continuation of cleanup of chrome/ includes in extension.cc. BUG=162530 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213260

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : no filenames #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : yup #

Patch Set 6 : uninstall.cc #

Patch Set 7 : deps #

Patch Set 8 : gyp too #

Total comments: 1

Patch Set 9 : todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -90 lines) Patch
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_target_determiner.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_protocols.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/pack_extension_job.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/sandboxed_unpacker.cc View 1 2 3 4 4 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/extensions/sandboxed_unpacker_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/extensions/background_info.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 3 chunks +1 line, -7 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M chrome/common/extensions/manifest_handlers/shared_module_info.cc View 1 2 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common_constants.gyp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/setup/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M chrome/utility/extensions/unpacker.cc View 1 2 3 5 chunks +3 lines, -5 lines 0 comments Download
M chrome/utility/extensions/unpacker_unittest.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M extensions/common/constants.h View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M extensions/common/constants.cc View 1 2 3 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Yoyo Zhou
7 years, 5 months ago (2013-07-18 22:52:42 UTC) #1
Matt Perry
What do you think about dropping the "filenames" namespace, and just leaving everything in "extensions"? ...
7 years, 5 months ago (2013-07-18 23:01:52 UTC) #2
Yoyo Zhou
Sure, got rid of extension_filenames and extensions::filenames namespaces. https://chromiumcodereview.appspot.com/19547009/diff/2001/extensions/common/constants.h File extensions/common/constants.h (right): https://chromiumcodereview.appspot.com/19547009/diff/2001/extensions/common/constants.h#newcode58 extensions/common/constants.h:58: bool ...
7 years, 5 months ago (2013-07-19 22:07:44 UTC) #3
Matt Perry
LGTM https://chromiumcodereview.appspot.com/19547009/diff/10001/chrome/browser/extensions/sandboxed_unpacker.cc File chrome/browser/extensions/sandboxed_unpacker.cc (right): https://chromiumcodereview.appspot.com/19547009/diff/10001/chrome/browser/extensions/sandboxed_unpacker.cc#newcode27 chrome/browser/extensions/sandboxed_unpacker.cc:27: // #include "chrome/common/extensions/extension_constants.h" remove
7 years, 5 months ago (2013-07-19 22:29:11 UTC) #4
Yoyo Zhou
https://chromiumcodereview.appspot.com/19547009/diff/10001/chrome/browser/extensions/sandboxed_unpacker.cc File chrome/browser/extensions/sandboxed_unpacker.cc (right): https://chromiumcodereview.appspot.com/19547009/diff/10001/chrome/browser/extensions/sandboxed_unpacker.cc#newcode27 chrome/browser/extensions/sandboxed_unpacker.cc:27: // #include "chrome/common/extensions/extension_constants.h" On 2013/07/19 22:29:11, Matt Perry wrote: ...
7 years, 5 months ago (2013-07-19 22:50:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/19547009/17003
7 years, 5 months ago (2013-07-19 22:50:42 UTC) #6
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=16212
7 years, 5 months ago (2013-07-19 23:14:50 UTC) #7
Yoyo Zhou
TBR=ben@chromium.org for simple refactoring
7 years, 5 months ago (2013-07-19 23:16:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/19547009/17003
7 years, 5 months ago (2013-07-19 23:19:49 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-20 01:57:55 UTC) #10
Yoyo Zhou
+gab: could you check that the change to chrome/installer/setup/DEPS is okay?
7 years, 5 months ago (2013-07-23 01:52:43 UTC) #11
gab
This also makes it so that the 'setup' target should depend on that new extensions ...
7 years, 5 months ago (2013-07-23 15:52:19 UTC) #12
Yoyo Zhou
On 2013/07/23 15:52:19, gab wrote: > This also makes it so that the 'setup' target ...
7 years, 5 months ago (2013-07-23 19:21:02 UTC) #13
gab
lgtm if others are ok with this temporary gyp change for the common_constants target https://codereview.chromium.org/19547009/diff/65001/chrome/common_constants.gyp ...
7 years, 5 months ago (2013-07-23 19:38:14 UTC) #14
Yoyo Zhou
+thestig: please review changes to common_constants.gyp
7 years, 5 months ago (2013-07-23 20:31:00 UTC) #15
Lei Zhang
common_constant.gyp lgtm, considering there's no .gyp file anywhere in src/extensions.
7 years, 5 months ago (2013-07-23 20:33:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/19547009/67002
7 years, 5 months ago (2013-07-23 20:37:51 UTC) #17
commit-bot: I haz the power
7 years, 5 months ago (2013-07-23 23:17:05 UTC) #18
Message was sent while issue was closed.
Change committed as 213260

Powered by Google App Engine
This is Rietveld 408576698