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

Unified Diff: chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h

Issue 10908088: Cleanup: Constify some ProfileKeyedBaseFactory methods and all overrides. Remove ProfileKeyedBaseFa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, remove a few more lines of code Created 8 years, 3 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/extensions/api/discovery/suggested_links_registry_factory.h
===================================================================
--- chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h (revision 154991)
+++ chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h (working copy)
@@ -20,7 +20,7 @@
static SuggestedLinksRegistryFactory* GetInstance();
// Overridden from ProfileKeyedBaseFactory:
- virtual bool ServiceIsCreatedWithProfile() OVERRIDE;
+ virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
private:
friend struct DefaultSingletonTraits<SuggestedLinksRegistryFactory>;
@@ -31,7 +31,7 @@
// ProfileKeyedServiceFactory:
virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
- virtual bool ServiceRedirectedInIncognito() OVERRIDE;
+ virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(SuggestedLinksRegistryFactory);
};

Powered by Google App Engine
This is Rietveld 408576698