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

Issue 9244005: Move the `privacy` extension API out of experimental. (Closed)

Created:
8 years, 11 months ago by Mike West
Modified:
8 years, 11 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org, Patrick Nepper
Visibility:
Public.

Description

Move the `privacy` extension API out of experimental. BUG=88030 TEST=browser_test (ExtensionAPITest.Preference*) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119031

Patch Set 1 : '' #

Patch Set 2 : Fixing permissions. #

Total comments: 1

Patch Set 3 : Dropping 'experimental' from sample extensions. #

Total comments: 8

Patch Set 4 : Meggin's feedback + Rebase + Aaron's permission string. #

Patch Set 5 : Wieland's permission string. #

Patch Set 6 : Permission warnings. #

Patch Set 7 : The other permissions warning page. #

Total comments: 11

Patch Set 8 : Dominic's feedback. #

Patch Set 9 : Rebase + Codereview ate my last patch. #

Patch Set 10 : Rebase. #

Patch Set 11 : License. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+618 lines, -1266 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_preference_api.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -16 lines 0 comments Download
M chrome/browser/extensions/extension_preference_apitest.cc View 6 chunks +1 line, -19 lines 0 comments Download
M chrome/common/common_resources.grd View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
D chrome/common/extensions/api/experimental.privacy.json View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -84 lines 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -1 line 0 comments Download
A + chrome/common/extensions/api/privacy.json View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -6 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/preferences/allowThirdPartyCookies.zip View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/preferences/allowThirdPartyCookies/manifest.json View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/examples/api/preferences/allowThirdPartyCookies/popup.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/preferences/enableReferrer.zip View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/preferences/enableReferrer/manifest.json View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/experimental.privacy.html View 1 2 3 4 5 6 7 8 5 chunks +42 lines, -1020 lines 0 comments Download
M chrome/common/extensions/docs/js/api_page_generator.js View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/manifest.html View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/permission_warnings.html View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
A + chrome/common/extensions/docs/privacy.html View 1 2 3 4 5 6 7 8 7 chunks +260 lines, -80 lines 0 comments Download
M chrome/common/extensions/docs/samples.html View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -10 lines 0 comments Download
M chrome/common/extensions/docs/samples.json View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -6 lines 0 comments Download
A chrome/common/extensions/docs/static/experimental.privacy.html View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/static/manifest.html View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/static/permission_warnings.html View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/static/privacy.html View 1 2 3 4 5 6 7 8 1 chunk +213 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_permission_set.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_permission_set.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/preference/clear/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/preference/clear/test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/preference/onchange/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/preference/onchange/test.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/preference/persistent_incognito/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/preference/persistent_incognito/test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/preference/session_only_incognito/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/preference/session_only_incognito/test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/preference/standard/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/preference/standard/test.js View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Mike West
Hello, all. As we discussed way back before I left for vacation in December, this ...
8 years, 11 months ago (2012-01-17 17:54:38 UTC) #1
Aaron Boodman
LGTM https://chromiumcodereview.appspot.com/9244005/diff/1048/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/9244005/diff/1048/chrome/app/generated_resources.grd#newcode4062 chrome/app/generated_resources.grd:4062: Settings that affect your privacy How about "Chrome's ...
8 years, 11 months ago (2012-01-17 23:50:12 UTC) #2
Mike West
> https://chromiumcodereview.appspot.com/9244005/diff/1048/chrome/app/generated_resources.grd#newcode4062 > chrome/app/generated_resources.grd:4062: Settings that affect your privacy > How about "Chrome's privacy settings"? ...
8 years, 11 months ago (2012-01-18 02:52:51 UTC) #3
Mike West
Meggin: I rebuilt the docs and added them to the CL. The privacy API documentation ...
8 years, 11 months ago (2012-01-18 16:19:40 UTC) #4
mkearney
Cool. On Wed, Jan 18, 2012 at 8:19 AM, <mkwst@chromium.org> wrote: > Meggin: I rebuilt ...
8 years, 11 months ago (2012-01-18 16:40:57 UTC) #5
Mike West
On 2012/01/18 16:40:57, mkearney wrote: > Cool. "Cool" as in, "It's great! Commit it right ...
8 years, 11 months ago (2012-01-19 19:19:26 UTC) #6
mkearney
B - Great, it's on my list. That said, I've already printed out the doc ...
8 years, 11 months ago (2012-01-19 19:26:10 UTC) #7
mkearney
And one more question kind of rhetorical question that might be outside the scope of ...
8 years, 11 months ago (2012-01-19 23:48:25 UTC) #8
Mike West
Thanks for your feedback, Meggin. I've rewritten chunks of the documentation, which I hope you ...
8 years, 11 months ago (2012-01-20 11:12:19 UTC) #9
Mike West
Meggin: The updated doc is staged at http://www.corp.google.com/~mkwst/no_crawl/docs/privacy.html Aaron, Jordan: The team here has converged ...
8 years, 11 months ago (2012-01-20 16:15:09 UTC) #10
Mike West
> Aaron, Jordan: The team here has converged on "Privacy-relevant settings." for Sorry, "Privacy-related settings." ...
8 years, 11 months ago (2012-01-20 16:16:14 UTC) #11
mkearney
lgtm
8 years, 11 months ago (2012-01-20 16:24:41 UTC) #12
Mike West
On 2012/01/20 16:24:41, mkearney wrote: > lgtm Meggin noted that we need to update the ...
8 years, 11 months ago (2012-01-20 16:42:14 UTC) #13
Mike West
On 2012/01/20 16:42:14, Mike West (chromium) wrote: > On 2012/01/20 16:24:41, mkearney wrote: > > ...
8 years, 11 months ago (2012-01-20 16:54:40 UTC) #14
Mike West
On 2012/01/20 16:16:14, Mike West (chromium) wrote: > > Aaron, Jordan: The team here has ...
8 years, 11 months ago (2012-01-24 12:15:08 UTC) #15
battre
drive-by comments http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/static/privacy.html File chrome/common/extensions/docs/static/privacy.html (right): http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/static/privacy.html#newcode19 chrome/common/extensions/docs/static/privacy.html:19: <a href="manifest.html"> manifest</a> to use the API. ...
8 years, 11 months ago (2012-01-24 12:29:17 UTC) #16
battre
http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js File chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js (right): http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js#newcode6 chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js:6: var pref = chrome.privacy.websites.referrersEnabled; If you install this extension, ...
8 years, 11 months ago (2012-01-24 12:40:33 UTC) #17
Mike West
Thanks Dominic. http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js File chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js (right): http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js#newcode6 chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js:6: var pref = chrome.privacy.websites.referrersEnabled; On 2012/01/24 12:40:33, ...
8 years, 11 months ago (2012-01-24 13:49:33 UTC) #18
battre
http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js File chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js (right): http://codereview.chromium.org/9244005/diff/21036/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js#newcode6 chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.js:6: var pref = chrome.privacy.websites.referrersEnabled; On 2012/01/24 13:49:33, Mike West ...
8 years, 11 months ago (2012-01-24 14:06:42 UTC) #19
jhurwich
"Privacy-related settings" SGTM On 2012/01/24 12:15:08, Mike West (chromium) wrote: > On 2012/01/20 16:16:14, Mike ...
8 years, 11 months ago (2012-01-24 16:44:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/9244005/27002
8 years, 11 months ago (2012-01-24 21:28:36 UTC) #21
commit-bot: I haz the power
Can't process patch for file chrome/test/data/extensions/api_test/preference/standard/manifest.json. File's status is None, patchset upload is incomplete.
8 years, 11 months ago (2012-01-24 21:28:38 UTC) #22
Mike West
8 years, 11 months ago (2012-01-24 22:58:16 UTC) #23
On 2012/01/24 21:28:38, I haz the power (commit-bot) wrote:
> Can't process patch for file
> chrome/test/data/extensions/api_test/preference/standard/manifest.json.
> File's status is None, patchset upload is incomplete.

Codereview apparently ate patchset #8.

I spent the last hour or so rebasing and building DumpRenderTree here at home,
and I'll run the result through trybots before landing manually. CQ won't work
regardless because of the zip files. Bleh. :(

Powered by Google App Engine
This is Rietveld 408576698