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

Unified Diff: chrome/browser/extensions/api/preference/preference_api_factory.cc

Issue 11617017: Removed dead code from chrome/browser/extensions/api/preference Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/browser/extensions/api/preference/preference_api_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/preference/preference_api_factory.cc
diff --git a/chrome/browser/extensions/api/preference/preference_api_factory.cc b/chrome/browser/extensions/api/preference/preference_api_factory.cc
index 5f765c876576ac1ece425769f36a45f7ed8f0496..e51c1eacecb91369dd71bb8caf1d1bc2edb9133e 100644
--- a/chrome/browser/extensions/api/preference/preference_api_factory.cc
+++ b/chrome/browser/extensions/api/preference/preference_api_factory.cc
@@ -11,12 +11,6 @@
namespace extensions {
// static
-PreferenceAPI* PreferenceAPIFactory::GetForProfile(Profile* profile) {
- return static_cast<PreferenceAPI*>(
- GetInstance()->GetServiceForProfile(profile, true));
-}
-
-// static
PreferenceAPIFactory* PreferenceAPIFactory::GetInstance() {
return Singleton<PreferenceAPIFactory>::get();
}
« no previous file with comments | « chrome/browser/extensions/api/preference/preference_api_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698