Index: chrome/browser/chromeos/extensions/media_player_api_factory.h |
diff --git a/chrome/browser/chromeos/extensions/input_method_api_factory.h b/chrome/browser/chromeos/extensions/media_player_api_factory.h |
similarity index 55% |
copy from chrome/browser/chromeos/extensions/input_method_api_factory.h |
copy to chrome/browser/chromeos/extensions/media_player_api_factory.h |
index 5b477c65eaef4fc0116d5993a464757dbaa26647..6fb6aa504b841866c68ae82873107138bf468f39 100644 |
--- a/chrome/browser/chromeos/extensions/input_method_api_factory.h |
+++ b/chrome/browser/chromeos/extensions/media_player_api_factory.h |
@@ -2,24 +2,25 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_API_FACTORY_H_ |
-#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_API_FACTORY_H_ |
+#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_FACTORY_H_ |
+#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_FACTORY_H_ |
#include "base/memory/singleton.h" |
#include "chrome/browser/profiles/profile_keyed_service_factory.h" |
namespace extensions { |
-class InputMethodAPI; |
+class MediaPlayerAPI; |
-class InputMethodAPIFactory : public ProfileKeyedServiceFactory { |
+class MediaPlayerAPIFactory : public ProfileKeyedServiceFactory { |
public: |
- static InputMethodAPIFactory* GetInstance(); |
+ static MediaPlayerAPI* GetForProfile(Profile* profile); |
+ static MediaPlayerAPIFactory* GetInstance(); |
private: |
- friend struct DefaultSingletonTraits<InputMethodAPIFactory>; |
+ friend struct DefaultSingletonTraits<MediaPlayerAPIFactory>; |
- InputMethodAPIFactory(); |
- virtual ~InputMethodAPIFactory(); |
+ MediaPlayerAPIFactory(); |
+ virtual ~MediaPlayerAPIFactory(); |
// ProfileKeyedServiceFactory implementation. |
virtual ProfileKeyedService* BuildServiceInstanceFor( |
@@ -30,4 +31,4 @@ class InputMethodAPIFactory : public ProfileKeyedServiceFactory { |
} // namespace extensions |
-#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_API_FACTORY_H_ |
+#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_FACTORY_H_ |