Skip to content

Commit

Permalink
Modified: clean out HistoryDeleteDirectiveSpecifics::UrlDirective::ur…
Browse files Browse the repository at this point in the history
…l field, as it is unencrypted
  • Loading branch information
AlexeyBarabash committed Oct 12, 2023
1 parent 35a1279 commit 94082ef
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/components/history/core/browser/sync/delete_directive_handler.cc b/components/history/core/browser/sync/delete_directive_handler.cc
index aed3aec1f04f15f9f806887110d87abac9ef06ba..13053b7fe8a0281e3f9d9f69b58bf35e5d199e2e 100644
--- a/components/history/core/browser/sync/delete_directive_handler.cc
+++ b/components/history/core/browser/sync/delete_directive_handler.cc
@@ -387,7 +387,6 @@ bool DeleteDirectiveHandler::CreateUrlDeleteDirective(const GURL& url) {

sync_pb::UrlDirective* url_directive =
delete_directive.mutable_url_directive();
- url_directive->set_url(url.spec());
url_directive->set_end_time_usec(TimeToUnixUsec(base::Time::Now()));

absl::optional<syncer::ModelError> error =

0 comments on commit 94082ef

Please sign in to comment.