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

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

Issue 2492283002: Mojo C++ bindings: switch components/filesystem mojom target to use STL types. (Closed)
Patch Set: Created 4 years, 1 month 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 | « components/leveldb/leveldb_mojo_proxy.cc ('k') | services/catalog/public/cpp/resource_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/dom_storage/dom_storage_context_wrapper.cc
diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.cc b/content/browser/dom_storage/dom_storage_context_wrapper.cc
index 9c4e801f31298c5a9d6df09ff2fe7059e414415e..f173f0e871070c2cf10e0538f926a4cb9b38dead 100644
--- a/content/browser/dom_storage/dom_storage_context_wrapper.cc
+++ b/content/browser/dom_storage/dom_storage_context_wrapper.cc
@@ -167,11 +167,10 @@ void DOMStorageContextWrapper::MojoState::OpenLocalStorage(
// We were given a subdirectory to write to. Get it and use a disk backed
// database.
file_service_connection_->GetInterface(&file_system_);
- file_system_->GetSubDirectory(
- mojo::String::From(subdirectory_.AsUTF8Unsafe()),
- GetProxy(&directory_),
- base::Bind(&MojoState::OnDirectoryOpened,
- weak_ptr_factory_.GetWeakPtr()));
+ file_system_->GetSubDirectory(subdirectory_.AsUTF8Unsafe(),
+ GetProxy(&directory_),
+ base::Bind(&MojoState::OnDirectoryOpened,
+ weak_ptr_factory_.GetWeakPtr()));
} else {
// We were not given a subdirectory. Use a memory backed database.
file_service_connection_->GetInterface(&leveldb_service_);
« no previous file with comments | « components/leveldb/leveldb_mojo_proxy.cc ('k') | services/catalog/public/cpp/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698