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

Unified Diff: mojo/shell/application_manager_unittest.cc

Issue 1691493002: Revise comments on various Shell interfaces. Make some methods private on ShellConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | mojo/shell/public/cpp/app_lifetime_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_manager_unittest.cc
diff --git a/mojo/shell/application_manager_unittest.cc b/mojo/shell/application_manager_unittest.cc
index 007756a432e0b8da0440781287ef12f37301f967..c259af817365b3065662afde231378b2caf41416 100644
--- a/mojo/shell/application_manager_unittest.cc
+++ b/mojo/shell/application_manager_unittest.cc
@@ -245,12 +245,12 @@ class TesterContext {
// Used to test that the requestor url will be correctly passed.
class TestAImpl : public TestA {
public:
- TestAImpl(ShellConnection* app_impl,
+ TestAImpl(Shell* shell,
TesterContext* test_context,
InterfaceRequest<TestA> request,
InterfaceFactory<TestC>* factory)
: test_context_(test_context), binding_(this, std::move(request)) {
- connection_ = app_impl->Connect(kTestBURLString);
+ connection_ = shell->Connect(kTestBURLString);
connection_->AddInterface<TestC>(factory);
connection_->GetInterface(&b_);
}
« no previous file with comments | « no previous file | mojo/shell/public/cpp/app_lifetime_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698