Skip to content

Commit

Permalink
Add comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
goodov committed Apr 5, 2021
1 parent c1c201c commit 0324989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chromium_src/content/browser/tld_ephemeral_lifetime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ TLDEphemeralLifetime::~TLDEphemeralLifetime() {
active_tld_storage_areas().erase(key_);
}

// static
TLDEphemeralLifetime* TLDEphemeralLifetime::Get(BrowserContext* browser_context,
std::string storage_domain) {
const TLDEphemeralLifetimeKey key(browser_context, std::move(storage_domain));
return Get(key);
}

// static
scoped_refptr<TLDEphemeralLifetime> TLDEphemeralLifetime::GetOrCreate(
BrowserContext* browser_context,
StoragePartition* storage_partition,
Expand Down

0 comments on commit 0324989

Please sign in to comment.