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

Unified Diff: trunk/src/mojo/service_manager/background_service_loader.cc

Issue 304593002: Revert 272983 "Change Shell / ShellClient to ServiceProvider" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/mojo/service_manager/background_service_loader.cc
===================================================================
--- trunk/src/mojo/service_manager/background_service_loader.cc (revision 272983)
+++ trunk/src/mojo/service_manager/background_service_loader.cc (working copy)
@@ -16,8 +16,8 @@
void LoadService(ServiceManager* manager,
const GURL& url,
- ScopedMessagePipeHandle service_provider_handle) {
- loader_->LoadService(manager, url, service_provider_handle.Pass());
+ ScopedMessagePipeHandle shell_handle) {
+ loader_->LoadService(manager, url, shell_handle.Pass());
}
void OnServiceError(ServiceManager* manager, const GURL& url) {
@@ -80,11 +80,10 @@
void BackgroundServiceLoader::LoadServiceOnBackgroundThread(
ServiceManager* manager,
const GURL& url,
- ScopedMessagePipeHandle* service_provider_handle) {
+ ScopedMessagePipeHandle* shell_handle) {
if (!background_loader_)
background_loader_ = new BackgroundLoader(loader_.get());
- background_loader_->LoadService(
- manager, url, service_provider_handle->Pass());
+ background_loader_->LoadService(manager, url, shell_handle->Pass());
}
void BackgroundServiceLoader::OnServiceErrorOnBackgroundThread(
« no previous file with comments | « trunk/src/mojo/service_manager/background_service_loader.h ('k') | trunk/src/mojo/service_manager/service_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698