Index: chrome/browser/extensions/api/sessions/sessions_api.h |
diff --git a/chrome/browser/extensions/api/sessions/sessions_api.h b/chrome/browser/extensions/api/sessions/sessions_api.h |
index c7d9149268b2f32f30badf259f0c010cc779728c..e04401937f3d2c90cb4835d05e83cabe8354a367 100644 |
--- a/chrome/browser/extensions/api/sessions/sessions_api.h |
+++ b/chrome/browser/extensions/api/sessions/sessions_api.h |
@@ -7,7 +7,6 @@ |
#include <string> |
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
#include "chrome/browser/extensions/chrome_extension_function.h" |
#include "chrome/browser/sessions/tab_restore_service.h" |
#include "chrome/browser/sessions/tab_restore_service_observer.h" |
@@ -80,23 +79,6 @@ class SessionsRestoreFunction : public ChromeSyncExtensionFunction { |
Browser* browser); |
}; |
-class SessionsAPI : public ProfileKeyedAPI { |
- public: |
- explicit SessionsAPI(Profile* profile); |
- virtual ~SessionsAPI(); |
- |
- // ProfileKeyedAPI implementation. |
- static ProfileKeyedAPIFactory<SessionsAPI>* GetFactoryInstance(); |
- private: |
- friend class ProfileKeyedAPIFactory<SessionsAPI>; |
- |
- // ProfileKeyedAPI implementation. |
- static const char* service_name() { |
- return "SessionsAPI"; |
- } |
- static const bool kServiceIsNULLWhileTesting = true; |
-}; |
- |
} // namespace extensions |
#endif // CHROME_BROWSER_EXTENSIONS_API_SESSIONS_SESSIONS_API_H__ |