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

Issue 14027005: Implement Command Line Private extension API (Closed)

Created:
7 years, 8 months ago by 方觉(Fang Jue)
Modified:
7 years, 8 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
https://src.chromium.org/svn/trunk/src/
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Fix paths in gyp and compile errors #

Total comments: 12

Patch Set 3 : Address kalman's comments #

Patch Set 4 : Fix a silly mistake and add a missing file #

Patch Set 5 : Add test #

Patch Set 6 : punctuations #

Patch Set 7 : chrome_tests.gypi #

Patch Set 8 : #

Total comments: 4

Patch Set 9 : #

Patch Set 10 : rebase #

Patch Set 11 : Fix PermissionsTest.PermissionMessages failure. #

Patch Set 12 : Add "key" in manifest.json #

Patch Set 13 : rebase #

Patch Set 14 : oops #

Patch Set 15 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -0 lines) Patch
A chrome/browser/extensions/api/command_line_private/command_line_private_api.h View 1 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/command_line_private/command_line_private_api.cc View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/command_line_private/command_line_private_apitest.cc View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/command_line_private.json View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/command_line/basics/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/command_line/basics/test.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
not at google - send to devlin
cool, lg when there are tests https://chromiumcodereview.appspot.com/14027005/diff/3002/chrome/browser/extensions/api/command_line_private/command_line_private_api.cc File chrome/browser/extensions/api/command_line_private/command_line_private_api.cc (right): https://chromiumcodereview.appspot.com/14027005/diff/3002/chrome/browser/extensions/api/command_line_private/command_line_private_api.cc#newcode14 chrome/browser/extensions/api/command_line_private/command_line_private_api.cc:14: namespace command_line_private = ...
7 years, 8 months ago (2013-04-15 06:08:45 UTC) #1
方觉(Fang Jue)
https://chromiumcodereview.appspot.com/14027005/diff/3002/chrome/browser/extensions/api/command_line_private/command_line_private_api.cc File chrome/browser/extensions/api/command_line_private/command_line_private_api.cc (right): https://chromiumcodereview.appspot.com/14027005/diff/3002/chrome/browser/extensions/api/command_line_private/command_line_private_api.cc#newcode14 chrome/browser/extensions/api/command_line_private/command_line_private_api.cc:14: namespace command_line_private = extensions::api::command_line_private; On 2013/04/15 06:08:45, kalman wrote: ...
7 years, 8 months ago (2013-04-15 06:25:03 UTC) #2
not at google - send to devlin
https://chromiumcodereview.appspot.com/14027005/diff/3002/chrome/browser/extensions/api/command_line_private/command_line_private_api.cc File chrome/browser/extensions/api/command_line_private/command_line_private_api.cc (right): https://chromiumcodereview.appspot.com/14027005/diff/3002/chrome/browser/extensions/api/command_line_private/command_line_private_api.cc#newcode21 chrome/browser/extensions/api/command_line_private/command_line_private_api.cc:21: EXTENSION_FUNCTION_VALIDATE(params.get()); On 2013/04/15 06:25:03, 方觉(Fang Jue) wrote: > On ...
7 years, 8 months ago (2013-04-15 06:26:52 UTC) #3
方觉(Fang Jue)
Added a missing file (extension_function_histogram_value.h). Do I need to update tools/metrics/histograms/histograms.xml? Test is added. Please ...
7 years, 8 months ago (2013-04-15 07:55:51 UTC) #4
方觉(Fang Jue)
+Ben Goodger for gyps.
7 years, 8 months ago (2013-04-15 10:39:19 UTC) #5
not at google - send to devlin
> Added a missing file (extension_function_histogram_value.h). Do I need to update > tools/metrics/histograms/histograms.xml? Nope, that's ...
7 years, 8 months ago (2013-04-15 12:15:36 UTC) #6
not at google - send to devlin
lgtm https://chromiumcodereview.appspot.com/14027005/diff/27015/chrome/test/data/extensions/api_test/command_line/basics/test.js File chrome/test/data/extensions/api_test/command_line/basics/test.js (right): https://chromiumcodereview.appspot.com/14027005/diff/27015/chrome/test/data/extensions/api_test/command_line/basics/test.js#newcode21 chrome/test/data/extensions/api_test/command_line/basics/test.js:21: assertEq(result, true); assertTrue(result)? https://chromiumcodereview.appspot.com/14027005/diff/27015/chrome/test/data/extensions/api_test/command_line/basics/test.js#newcode28 chrome/test/data/extensions/api_test/command_line/basics/test.js:28: assertEq(result, false); assertFalse(result)?
7 years, 8 months ago (2013-04-15 12:20:15 UTC) #7
方觉(Fang Jue)
Also added "commandLinePrivate" permission in manifest.json. https://chromiumcodereview.appspot.com/14027005/diff/27015/chrome/test/data/extensions/api_test/command_line/basics/test.js File chrome/test/data/extensions/api_test/command_line/basics/test.js (right): https://chromiumcodereview.appspot.com/14027005/diff/27015/chrome/test/data/extensions/api_test/command_line/basics/test.js#newcode21 chrome/test/data/extensions/api_test/command_line/basics/test.js:21: assertEq(result, true); On ...
7 years, 8 months ago (2013-04-15 23:25:03 UTC) #8
Ben Goodger (Google)
gyp lgtm
7 years, 8 months ago (2013-04-16 16:33:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/14027005/36001
7 years, 8 months ago (2013-04-18 04:05:24 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-18 04:05:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/14027005/46001
7 years, 8 months ago (2013-04-18 04:09:59 UTC) #12
方觉(Fang Jue)
On 2013/04/18 04:09:59, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 8 months ago (2013-04-18 04:46:25 UTC) #13
not at google - send to devlin
lgtm
7 years, 8 months ago (2013-04-18 04:58:57 UTC) #14
方觉(Fang Jue)
On 2013/04/18 04:58:57, kalman wrote: > lgtm browser_tests also fails. It seems that component extensions ...
7 years, 8 months ago (2013-04-18 05:06:02 UTC) #15
方觉(Fang Jue)
"key" is added to manifest.json. I followed the instruction in https://developer.chrome.com/extensions/manifest.html#key to get the key.
7 years, 8 months ago (2013-04-18 05:51:38 UTC) #16
not at google - send to devlin
Cool, lgtm (you don't have to wait for trivial changes like that)
7 years, 8 months ago (2013-04-18 16:17:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/14027005/58002
7 years, 8 months ago (2013-04-19 04:52:12 UTC) #18
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-19 04:52:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/14027005/67002
7 years, 8 months ago (2013-04-19 04:57:24 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-19 05:31:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/14027005/72003
7 years, 8 months ago (2013-04-19 05:53:05 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-19 06:23:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/14027005/72003
7 years, 8 months ago (2013-04-19 10:58:57 UTC) #24
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-19 10:59:04 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/14027005/78004
7 years, 8 months ago (2013-04-19 11:03:16 UTC) #26
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 13:28:18 UTC) #27
Message was sent while issue was closed.
Change committed as 195161

Powered by Google App Engine
This is Rietveld 408576698