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

Issue 2785943005: DevTools: Fix Network.clearBrowserCookies (Closed)

Created:
3 years, 8 months ago by phulce
Modified:
3 years, 8 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, jam, darin-cc_chromium.org, pfeldman, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Fix Network.clearBrowserCookies Removes ClearCookies method from chrome content browser client. Changes network handler to directly delete cookies from cookie store. BUG=672744 R=dgozman Review-Url: https://codereview.chromium.org/2785943005 Cr-Commit-Position: refs/heads/master@{#461911} Committed: https://chromium.googlesource.com/chromium/src/+/3f058ec9983877b66fbd014a1253d509dc303172

Patch Set 1 #

Total comments: 5

Patch Set 2 : turn into async #

Total comments: 2

Patch Set 3 : throw callback to UI #

Total comments: 2

Patch Set 4 : undo protocol changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -17 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/devtools/protocol/network_handler.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/devtools/protocol/network_handler.cc View 1 2 3 3 chunks +37 lines, -4 lines 0 comments Download
M content/browser/devtools/protocol_config.json View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (5 generated)
phulce
https://codereview.chromium.org/2785943005/diff/1/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2785943005/diff/1/content/browser/devtools/protocol/network_handler.cc#newcode195 content/browser/devtools/protocol/network_handler.cc:195: void ClearedCookiesOnIO(int num_deleted) { It'd be nice to communicate ...
3 years, 8 months ago (2017-03-31 16:40:42 UTC) #1
dgozman
Nice patch! https://codereview.chromium.org/2785943005/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (left): https://codereview.chromium.org/2785943005/diff/1/chrome/browser/chrome_content_browser_client.cc#oldcode2750 chrome/browser/chrome_content_browser_client.cc:2750: int remove_mask = ChromeBrowsingDataRemoverDelegate::DATA_TYPE_SITE_DATA; This looks like ...
3 years, 8 months ago (2017-03-31 22:57:55 UTC) #2
phulce
https://codereview.chromium.org/2785943005/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (left): https://codereview.chromium.org/2785943005/diff/1/chrome/browser/chrome_content_browser_client.cc#oldcode2750 chrome/browser/chrome_content_browser_client.cc:2750: int remove_mask = ChromeBrowsingDataRemoverDelegate::DATA_TYPE_SITE_DATA; On 2017/03/31 22:57:55, dgozman wrote: ...
3 years, 8 months ago (2017-03-31 23:54:32 UTC) #3
pfeldman
https://codereview.chromium.org/2785943005/diff/20001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2785943005/diff/20001/content/browser/devtools/protocol/network_handler.cc#newcode191 content/browser/devtools/protocol/network_handler.cc:191: callback->sendSuccess(num_deleted); We should get back to UI!
3 years, 8 months ago (2017-04-01 00:23:23 UTC) #5
phulce
https://codereview.chromium.org/2785943005/diff/20001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2785943005/diff/20001/content/browser/devtools/protocol/network_handler.cc#newcode191 content/browser/devtools/protocol/network_handler.cc:191: callback->sendSuccess(num_deleted); On 2017/04/01 00:23:23, pfeldman wrote: > We should ...
3 years, 8 months ago (2017-04-03 17:04:04 UTC) #6
dgozman
On 2017/04/03 17:04:04, phulce wrote: > https://codereview.chromium.org/2785943005/diff/20001/content/browser/devtools/protocol/network_handler.cc > File content/browser/devtools/protocol/network_handler.cc (right): > > https://codereview.chromium.org/2785943005/diff/20001/content/browser/devtools/protocol/network_handler.cc#newcode191 > ...
3 years, 8 months ago (2017-04-03 17:36:39 UTC) #7
phulce
On 2017/04/03 17:36:39, dgozman wrote: > On 2017/04/03 17:04:04, phulce wrote: > > > https://codereview.chromium.org/2785943005/diff/20001/content/browser/devtools/protocol/network_handler.cc ...
3 years, 8 months ago (2017-04-03 17:48:52 UTC) #8
phulce
PTAL
3 years, 8 months ago (2017-04-04 16:46:41 UTC) #9
dgozman
lgtm modulo protocol change https://codereview.chromium.org/2785943005/diff/40001/third_party/WebKit/Source/core/inspector/browser_protocol.json File third_party/WebKit/Source/core/inspector/browser_protocol.json (right): https://codereview.chromium.org/2785943005/diff/40001/third_party/WebKit/Source/core/inspector/browser_protocol.json#newcode1279 third_party/WebKit/Source/core/inspector/browser_protocol.json:1279: { "name": "numberDeleted", "type": "number", ...
3 years, 8 months ago (2017-04-04 16:53:43 UTC) #10
phulce
https://codereview.chromium.org/2785943005/diff/40001/third_party/WebKit/Source/core/inspector/browser_protocol.json File third_party/WebKit/Source/core/inspector/browser_protocol.json (right): https://codereview.chromium.org/2785943005/diff/40001/third_party/WebKit/Source/core/inspector/browser_protocol.json#newcode1279 third_party/WebKit/Source/core/inspector/browser_protocol.json:1279: { "name": "numberDeleted", "type": "number", "description": "The number of ...
3 years, 8 months ago (2017-04-04 18:23:27 UTC) #11
pfeldman
lgtm
3 years, 8 months ago (2017-04-04 19:07:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2785943005/60001
3 years, 8 months ago (2017-04-04 22:40:08 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 00:23:20 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3f058ec9983877b66fbd014a1253...

Powered by Google App Engine
This is Rietveld 408576698