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

Unified Diff: mojo/service_manager/background_service_loader.h

Issue 423963004: First cut at "content handling" support in Mojo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use URLResponse with ContentHandler interface instead of data pipe Created 6 years, 4 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/service_manager/background_service_loader.h
diff --git a/mojo/service_manager/background_service_loader.h b/mojo/service_manager/background_service_loader.h
index 253637adb6cfefb487ebce1db7fee5276561e98b..5ff7141c9f0c7cd08426468d821b2dd500f3f068 100644
--- a/mojo/service_manager/background_service_loader.h
+++ b/mojo/service_manager/background_service_loader.h
@@ -25,9 +25,10 @@ class MOJO_SERVICE_MANAGER_EXPORT BackgroundServiceLoader
virtual ~BackgroundServiceLoader();
// ServiceLoader overrides:
- virtual void LoadService(ServiceManager* manager,
- const GURL& url,
- ScopedMessagePipeHandle shell_handle) OVERRIDE;
+ virtual void LoadService(
+ ServiceManager* manager,
+ const GURL& url,
+ scoped_refptr<LoadServiceCallbacks> callbacks) OVERRIDE;
virtual void OnServiceError(ServiceManager* manager,
const GURL& url) OVERRIDE;
@@ -41,7 +42,7 @@ class MOJO_SERVICE_MANAGER_EXPORT BackgroundServiceLoader
void LoadServiceOnBackgroundThread(
ServiceManager* manager,
const GURL& url,
- ScopedMessagePipeHandle* shell_handle);
+ ScopedMessagePipeHandle shell_handle);
void OnServiceErrorOnBackgroundThread(ServiceManager* manager,
const GURL& url);
void ShutdownOnBackgroundThread();

Powered by Google App Engine
This is Rietveld 408576698