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

Unified Diff: services/file/file_service.cc

Issue 2487573002: Service Manager: Remove ServiceContext* arg from Service::OnStart() (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « services/file/file_service.h ('k') | services/image_decoder/image_decoder_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/file/file_service.cc
diff --git a/services/file/file_service.cc b/services/file/file_service.cc
index 4e844209c4fa270fd82c4fa81f3b2f1cfaf12155..c469fac960480e112da7bb6f68d90c7ba3672ac5 100644
--- a/services/file/file_service.cc
+++ b/services/file/file_service.cc
@@ -89,9 +89,9 @@ FileService::~FileService() {
leveldb_service_runner_->DeleteSoon(FROM_HERE, leveldb_objects_.release());
}
-void FileService::OnStart(service_manager::ServiceContext* context) {
+void FileService::OnStart() {
file_system_objects_.reset(new FileService::FileSystemObjects(
- GetUserDirForUserId(context->identity().user_id())));
+ GetUserDirForUserId(context()->identity().user_id())));
leveldb_objects_.reset(
new FileService::LevelDBServiceObjects(leveldb_service_runner_));
}
« no previous file with comments | « services/file/file_service.h ('k') | services/image_decoder/image_decoder_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698