Adds an automation message to retrieve the list of enabled extensions, and CF bindings for it.

TEST=unit test to follow
BUG=none

Review URL: http://codereview.chromium.org/901002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41667 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome_frame/chrome_frame_delegate.h b/chrome_frame/chrome_frame_delegate.h
index 63409b90..f8f812d8 100644
--- a/chrome_frame/chrome_frame_delegate.h
+++ b/chrome_frame/chrome_frame_delegate.h
@@ -9,6 +9,7 @@
 #include <atlwin.h>
 #include <queue>
 
+#include "base/file_path.h"
 #include "base/lock.h"
 #include "chrome/test/automation/automation_messages.h"
 #include "ipc/ipc_message.h"
@@ -29,6 +30,9 @@
       const FilePath& path,
       void* user_data,
       AutomationMsg_ExtensionResponseValues response) = 0;
+  virtual void OnGetEnabledExtensionsComplete(
+      void* user_data,
+      const std::vector<FilePath>& extension_directories) = 0;
   virtual void OnMessageReceived(const IPC::Message& msg) = 0;
 
   // This remains in interface since we call it if Navigate()
@@ -68,6 +72,9 @@
       const FilePath& path,
       void* user_data,
       AutomationMsg_ExtensionResponseValues response) {}
+  virtual void OnGetEnabledExtensionsComplete(
+      void* user_data,
+      const std::vector<FilePath>& extension_directories) {}
   virtual void OnLoadFailed(int error_code, const std::string& url) {}
   virtual void OnMessageReceived(const IPC::Message& msg);