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

Unified Diff: content/browser/dom_storage/local_storage_context_mojo.cc

Issue 2695333002: Mojo C++ bindings: remove usage of AssociatedGroup from content/ (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/dom_storage/local_storage_context_mojo_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/dom_storage/local_storage_context_mojo.cc
diff --git a/content/browser/dom_storage/local_storage_context_mojo.cc b/content/browser/dom_storage/local_storage_context_mojo.cc
index 904a8e54ef794770bfe0b7f635c85fc011254ebf..6437963aa23a92dc79719816abeecb18bb79a33c 100644
--- a/content/browser/dom_storage/local_storage_context_mojo.cc
+++ b/content/browser/dom_storage/local_storage_context_mojo.cc
@@ -338,7 +338,7 @@ void LocalStorageContextMojo::InitiateConnection(bool in_memory_only) {
// We were not given a subdirectory. Use a memory backed database.
file_service_connection_->GetInterface(&leveldb_service_);
leveldb_service_->OpenInMemory(
- MakeRequest(&database_, leveldb_service_.associated_group()),
+ MakeRequest(&database_),
base::Bind(&LocalStorageContextMojo::OnDatabaseOpened,
weak_ptr_factory_.GetWeakPtr(), true));
}
@@ -373,7 +373,7 @@ void LocalStorageContextMojo::OnDirectoryOpened(
options->create_if_missing = true;
leveldb_service_->OpenWithOptions(
std::move(options), std::move(directory_clone), "leveldb",
- MakeRequest(&database_, leveldb_service_.associated_group()),
+ MakeRequest(&database_),
base::Bind(&LocalStorageContextMojo::OnDatabaseOpened,
weak_ptr_factory_.GetWeakPtr(), false));
}
« no previous file with comments | « no previous file | content/browser/dom_storage/local_storage_context_mojo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698