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

Unified Diff: mojo/services/files/public/c/lib/directory_wrapper.cc

Issue 1150563003: Rename InterfacePtr's WaitForIncomingMethodCall() -> WaitForIncomingResponse(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
Index: mojo/services/files/public/c/lib/directory_wrapper.cc
diff --git a/mojo/services/files/public/c/lib/directory_wrapper.cc b/mojo/services/files/public/c/lib/directory_wrapper.cc
index cf1be69b2eff5dfc7b1f9aadf4df1123becdc94a..d67615d3655e642434afbc51837f29c03b42bbea 100644
--- a/mojo/services/files/public/c/lib/directory_wrapper.cc
+++ b/mojo/services/files/public/c/lib/directory_wrapper.cc
@@ -74,7 +74,7 @@ std::unique_ptr<FDImpl> DirectoryWrapper::Open(const char* path,
mojo::files::Error error = mojo::files::ERROR_INTERNAL;
directory_->OpenFile(path, mojo::GetProxy(&file), mojo_open_flags,
Capture(&error));
- if (!directory_.WaitForIncomingMethodCall()) {
+ if (!directory_.WaitForIncomingResponse()) {
// This may be somewhat surprising. The implication is that the CWD is
// stale, which may be a little strange.
errno_setter.Set(ESTALE);
@@ -98,7 +98,7 @@ bool DirectoryWrapper::Chdir(const char* path) {
path, mojo::GetProxy(&new_directory),
mojo::files::kOpenFlagRead | mojo::files::kOpenFlagWrite,
Capture(&error));
- if (!directory_.WaitForIncomingMethodCall()) {
+ if (!directory_.WaitForIncomingResponse()) {
// This may be somewhat surprising. The implication is that the CWD is
// stale, which may be a little strange.
return errno_setter.Set(ESTALE);
« no previous file with comments | « mojo/public/cpp/bindings/tests/versioning_apptest.cc ('k') | mojo/services/files/public/c/lib/file_fd_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698