diff options
Diffstat (limited to 'chrome/browser/extensions/api/page_launcher/page_launcher_api.h')
-rw-r--r-- | chrome/browser/extensions/api/page_launcher/page_launcher_api.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/chrome/browser/extensions/api/page_launcher/page_launcher_api.h b/chrome/browser/extensions/api/page_launcher/page_launcher_api.h index 4cd4483..a5c7757 100644 --- a/chrome/browser/extensions/api/page_launcher/page_launcher_api.h +++ b/chrome/browser/extensions/api/page_launcher/page_launcher_api.h @@ -7,39 +7,19 @@ #include <string> -#include "base/basictypes.h" -#include "base/memory/scoped_ptr.h" -#include "chrome/browser/extensions/api/profile_keyed_api_factory.h" - class GURL; class Profile; namespace extensions { -class PageLauncherAPI : public ProfileKeyedAPI { +class PageLauncherAPI { public: - explicit PageLauncherAPI(Profile* profile); - virtual ~PageLauncherAPI(); - static void DispatchOnClickedEvent(Profile* profile, const std::string& extension_id, const GURL& url, const std::string& mimetype, const std::string* page_title, const std::string* selected_text); - - // ProfileKeyedAPI implementation. - static ProfileKeyedAPIFactory<PageLauncherAPI>* GetFactoryInstance(); - - private: - friend class ProfileKeyedAPIFactory<PageLauncherAPI>; - - // ProfileKeyedAPI implementation. - static const char* service_name() { - return "PageLauncherAPI"; - } - - DISALLOW_COPY_AND_ASSIGN(PageLauncherAPI); }; } // namespace extensions |