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

Issue 10709006: Show apps protecting local data in chrome://settings/cookies. (Closed)

Created:
8 years, 5 months ago by Bernhard Bauer
Modified:
8 years, 5 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Show apps protecting local data in chrome://settings/cookies. Related cleanup: * Add a method to ExtensionSpecialStoragePolicy that returns the set of extensions protecting an origin. * Rename CookieTreeOriginNode to CookieTreeHostNode, because that's what it is. * Modify |origin| in CookieTreeModel::DetailedInfo to actually contain the origin. * Remove |origin| from CocoaCookieDetails, because - it's a domain, not an origin, and - it can be inferred from the cookie information. * Change std::wstring usage in CookieTreeModel to string16. BUG=136487 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146550

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : fix #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 10

Patch Set 8 : review #

Total comments: 27

Patch Set 9 : review #

Patch Set 10 : jochen #

Total comments: 8

Patch Set 11 : review #

Patch Set 12 : sync #

Patch Set 13 : cleanup #

Patch Set 14 : argh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+735 lines, -538 lines) Patch
M chrome/browser/cookies_tree_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +49 lines, -99 lines 0 comments Download
M chrome/browser/cookies_tree_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 47 chunks +308 lines, -169 lines 0 comments Download
M chrome/browser/cookies_tree_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 16 chunks +60 lines, -49 lines 0 comments Download
M chrome/browser/extensions/extension_special_storage_policy.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_special_storage_policy.cc View 5 chunks +37 lines, -20 lines 0 comments Download
M chrome/browser/extensions/extension_special_storage_policy_unittest.cc View 1 2 3 4 5 6 7 4 chunks +109 lines, -83 lines 0 comments Download
M chrome/browser/resources/options2/cookies_list.js View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +81 lines, -52 lines 0 comments Download
M chrome/browser/resources/options2/cookies_view.css View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/cookie_details.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/content_settings/cookie_details.mm View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/collected_cookies_gtk.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/collected_cookies_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/collected_cookies_views.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/cookies_tree_model_util.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options2/cookies_view_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 13 6 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Bernhard Bauer
Please review. Marja: CookieTreeModel, ExtensionSpecialStoragePolicy Evan: WebUI options I'll add OWNERS for the rest later.
8 years, 5 months ago (2012-07-06 12:13:38 UTC) #1
marja
I'm not a good reviewer for CookieTreeModel, I haven't authored almost any of it and ...
8 years, 5 months ago (2012-07-09 08:11:43 UTC) #2
Bernhard Bauer
Jochen, can you take a look at CookiesTreeModel? http://codereview.chromium.org/10709006/diff/19001/chrome/browser/cookies_tree_model.cc File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/10709006/diff/19001/chrome/browser/cookies_tree_model.cc#newcode38 chrome/browser/cookies_tree_model.cc:38: return ...
8 years, 5 months ago (2012-07-09 09:50:48 UTC) #3
marja
http://codereview.chromium.org/10709006/diff/19001/chrome/browser/extensions/extension_special_storage_policy.h File chrome/browser/extensions/extension_special_storage_policy.h (right): http://codereview.chromium.org/10709006/diff/19001/chrome/browser/extensions/extension_special_storage_policy.h#newcode47 chrome/browser/extensions/extension_special_storage_policy.h:47: const ExtensionSet* ExtensionsProtectingOrigin(const GURL& origin); On 2012/07/09 09:50:48, Bernhard ...
8 years, 5 months ago (2012-07-09 09:55:02 UTC) #4
jochen (gone - plz use gerrit)
Cramming that much cleanups into a change is very confusing :-/ I would prefer it, ...
8 years, 5 months ago (2012-07-09 15:24:29 UTC) #5
Bernhard Bauer
On 2012/07/09 15:24:29, jochen wrote: > Cramming that much cleanups into a change is very ...
8 years, 5 months ago (2012-07-09 15:43:46 UTC) #6
Evan Stade
http://codereview.chromium.org/10709006/diff/8058/chrome/browser/resources/options2/cookies_list.js File chrome/browser/resources/options2/cookies_list.js (right): http://codereview.chromium.org/10709006/diff/8058/chrome/browser/resources/options2/cookies_list.js#newcode225 chrome/browser/resources/options2/cookies_list.js:225: var info = { surely the block of code ...
8 years, 5 months ago (2012-07-10 07:53:08 UTC) #7
Bernhard Bauer
http://codereview.chromium.org/10709006/diff/8058/chrome/browser/resources/options2/cookies_list.js File chrome/browser/resources/options2/cookies_list.js (right): http://codereview.chromium.org/10709006/diff/8058/chrome/browser/resources/options2/cookies_list.js#newcode225 chrome/browser/resources/options2/cookies_list.js:225: var info = { On 2012/07/10 07:53:08, Evan Stade ...
8 years, 5 months ago (2012-07-10 09:50:59 UTC) #8
jochen (gone - plz use gerrit)
I think splitting this up into smaller CLs would be nicer, but I don't insist ...
8 years, 5 months ago (2012-07-10 10:13:01 UTC) #9
Evan Stade
lgtm with nits http://codereview.chromium.org/10709006/diff/10006/chrome/browser/resources/options2/cookies_list.js File chrome/browser/resources/options2/cookies_list.js (right): http://codereview.chromium.org/10709006/diff/10006/chrome/browser/resources/options2/cookies_list.js#newcode279 chrome/browser/resources/options2/cookies_list.js:279: if (apps) { as it turns ...
8 years, 5 months ago (2012-07-11 01:45:44 UTC) #10
Bernhard Bauer
https://chromiumcodereview.appspot.com/10709006/diff/10006/chrome/browser/resources/options2/cookies_list.js File chrome/browser/resources/options2/cookies_list.js (right): https://chromiumcodereview.appspot.com/10709006/diff/10006/chrome/browser/resources/options2/cookies_list.js#newcode279 chrome/browser/resources/options2/cookies_list.js:279: if (apps) { On 2012/07/11 01:45:44, Evan Stade wrote: ...
8 years, 5 months ago (2012-07-11 08:42:11 UTC) #11
Bernhard Bauer
Peter, can I get a rubberstamp for chrome/browser/ui? Thanks!
8 years, 5 months ago (2012-07-11 08:45:19 UTC) #12
Peter Kasting
LGTM
8 years, 5 months ago (2012-07-11 19:17:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/10709006/8060
8 years, 5 months ago (2012-07-11 20:25:50 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/cookies_tree_model.cc: While running patch -p1 --forward --force; patching file chrome/browser/cookies_tree_model.cc ...
8 years, 5 months ago (2012-07-11 20:26:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/10709006/16044
8 years, 5 months ago (2012-07-12 17:29:37 UTC) #16
commit-bot: I haz the power
Try job failure for 10709006-16044 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-07-12 17:51:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/10709006/23001
8 years, 5 months ago (2012-07-13 09:27:19 UTC) #18
commit-bot: I haz the power
8 years, 5 months ago (2012-07-13 10:39:06 UTC) #19
Change committed as 146550

Powered by Google App Engine
This is Rietveld 408576698