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

Unified Diff: services/ui/service.h

Issue 2858103002: Have mash_browser_tests recreate BackgroundServiceManager per test (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « chrome/test/base/mojo_test_connector.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.h
diff --git a/services/ui/service.h b/services/ui/service.h
index 0bf1f15da62f38cb26eae170861acf1e58222962..6bf24632ee0c4e96e481610de70ef8c8b77343ec 100644
--- a/services/ui/service.h
+++ b/services/ui/service.h
@@ -87,7 +87,9 @@ class Service : public service_manager::Service,
using UserIdToUserState = std::map<ws::UserId, std::unique_ptr<UserState>>;
- void InitializeResources(service_manager::Connector* connector);
+ // Attempts to initialize the resource bundle. Returns true if successful,
+ // otherwise false if resources cannot be loaded.
+ bool InitializeResources(service_manager::Connector* connector);
// Returns the user specific state for the user id of |remote_identity|.
// Service owns the return value.
« no previous file with comments | « chrome/test/base/mojo_test_connector.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698