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

Unified Diff: mojo/services/test_service/test_request_tracker_impl.h

Issue 380413003: Mojo: Use InterfaceFactory<Interface> for service registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: specify ownership in the Bind call Created 6 years, 5 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/test_service/test_request_tracker_impl.h
diff --git a/mojo/services/test_service/test_request_tracker_impl.h b/mojo/services/test_service/test_request_tracker_impl.h
index c080cb8aa7025222673055f8db6dec938aa6b25e..a5391bdae791e46a23a12b70297b59c7d1652bcd 100644
--- a/mojo/services/test_service/test_request_tracker_impl.h
+++ b/mojo/services/test_service/test_request_tracker_impl.h
@@ -27,8 +27,7 @@ struct TrackingContext {
class TestRequestTrackerImpl : public InterfaceImpl<TestRequestTracker> {
public:
- TestRequestTrackerImpl(ApplicationConnection* connection,
- TrackingContext* context);
+ explicit TestRequestTrackerImpl(TrackingContext* context);
virtual ~TestRequestTrackerImpl();
// TestRequestTracker.
@@ -48,9 +47,7 @@ class TestRequestTrackerImpl : public InterfaceImpl<TestRequestTracker> {
class TestTrackedRequestServiceImpl
: public InterfaceImpl<TestTrackedRequestService> {
public:
- TestTrackedRequestServiceImpl(
- ApplicationConnection* connection,
- TrackingContext* context);
+ explicit TestTrackedRequestServiceImpl(TrackingContext* context);
virtual ~TestTrackedRequestServiceImpl();
// |TestTrackedRequestService| implementation.

Powered by Google App Engine
This is Rietveld 408576698