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

Unified Diff: chrome/browser/ui/app_list/start_page_service_factory.h

Issue 970863003: app_list::StartPageService: Document and check nulls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: chrome/browser/ui/app_list/start_page_service_factory.h
diff --git a/chrome/browser/ui/app_list/start_page_service_factory.h b/chrome/browser/ui/app_list/start_page_service_factory.h
index 1bd8031eda3a99100d978020b7c542c49381056b..e023ca8bf3b8a99df09a6f612329e074ac8591e6 100644
--- a/chrome/browser/ui/app_list/start_page_service_factory.h
+++ b/chrome/browser/ui/app_list/start_page_service_factory.h
@@ -16,7 +16,8 @@ class StartPageService;
// Singleton factory to create StartPageService.
class StartPageServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- // Gets or creates the instance of StartPageService for |profile|.
+ // Gets or creates the instance of StartPageService for |profile|. May return
+ // nullptr.
static StartPageService* GetForProfile(Profile* profile);
// Gets the singleton instance of this factory.
« no previous file with comments | « chrome/browser/ui/app_list/start_page_service.h ('k') | chrome/browser/ui/ash/app_list/app_list_service_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698