Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / chrome_extensions_api_client.h
index e06fd69..0bbffb1 100644 (file)
@@ -6,6 +6,7 @@
 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_
 
 #include "base/compiler_specific.h"
+#include "base/memory/scoped_ptr.h"
 #include "extensions/browser/api/extensions_api_client.h"
 
 namespace extensions {
@@ -23,8 +24,21 @@ class ChromeExtensionsAPIClient : public ExtensionsAPIClient {
       const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers,
       std::map<settings_namespace::Namespace, ValueStoreCache*>* caches)
       OVERRIDE;
+  virtual bool AppViewInternalAttachFrame(
+      content::BrowserContext* browser_context,
+      const GURL& url,
+      int guest_instance_id,
+      const std::string& guest_extension_id) OVERRIDE;
+  virtual bool AppViewInternalDenyRequest(
+      content::BrowserContext* browser_context,
+      int guest_instance_id,
+      const std::string& guest_extension_id) OVERRIDE;
+  virtual device::HidService* GetHidService() OVERRIDE;
+  virtual void RegisterGuestViewTypes() OVERRIDE;
 
  private:
+  scoped_ptr<device::HidService> hid_service_;
+
   DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsAPIClient);
 };